|
A dropdownlist, which is rendered as a select element has the onclick event as most html elements do; however, dropdownlist usually handles the onchange event to be notified when the selection has been changed.
<asp:DropDownList runat="server" id="..." onclick="...">
<asp:DropDownList runat="server" id="..." onchange="...">
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
how can i include html in html page
any help!
|
|
|
|
|
Without using any server side language there is only one way to include one html
file within another html file.
<iframe src="included.html" width="450" height="400" frameborder="0">
Another way is to use any server side language. In all server side scripting
languages there is more than one method to include file.
Hope this will help!
Jinal Desai
|
|
|
|
|
Also you can use AJAX to include an html page into html after the page has loaded or other sense dynamically.
Today's Beautiful Moments are
Tomorrow's Beautiful Memories
|
|
|
|
|
If you want to embed a page in another, use iframe. Syntax:
<iframe src="URL"></iframe>
The URL points to the location of the separate page. You can also point to a local file.
You can also set height and width:
<iframe src="demo_iframe.htm" width="200" height="200"></iframe>
For removing the borders, use following code:
<iframe src="demo_iframe.htm" frameborder="0"></iframe>
---AkiDakiObi
|
|
|
|
|
Hi Friends,
I have one wsdl method which will be called by J2ME application installed in the UserMobiles.
When evver I get the request to my Wsdl method, I need to read the headers to know the user mobile number.
Is there any way to read the headers in wsdl method... where as in aspx page I can easily read with Request.Headers collection, but from wsdl method I am not able to do that....
Can any one please help me in this..
Thankyou,
Haribabu K
|
|
|
|
|
I have tested the code in "http://www.codeproject.com/KB/scripting/FreezePanes.aspx?msg=2447985#xx2447985xx" to bring the effect of freeze panes. Is there a way that the scrolbar slider can be seen while scrolling up and down?
Thanks, Mohamed.
|
|
|
|
|
I want a small iframe in one of my pages. The user must enter some details in this iframe.
I don't want the user to be able to scroll within the iframe, because then the textboxes are out of sight.
I've added scrolling="no" to the iframe, and this removed the scrolling bars. BUT when the user selects the iframe and press the arrow keys, or holds down the mouse button and move the curser outside the iframe, it still scrolls. Is there any way to stop this from happening?
modified on Tuesday, April 20, 2010 3:32 AM
|
|
|
|
|
The simplest way would be to make the document and the
iframe the same size then there is no chance for
scrolling.Also using css position:fixed would prevent
scrolling.I think css overflow:hidden would help
you also.
|
|
|
|
|
i've used css to force the inner document to the same size as the iframe, and now it's perfect.
thanks!
|
|
|
|
|
|
See here[^]
I have deployed this page to enable you to see what my problem is.
(it will not be the final form, I am waiting to get the proper images sorted, but these will do as example).
if you hit the left or right arrows then the image moves the correct way, but the arrows are replaced by the words left and right and they won't come back.
Not exactly what I am after.
Here is the code on the HTML page...
<div id="dhtmlgoodies_slideshow">
<div id="previewPane">
<img alt="image" src="gallery/image1_big.jpg"/>
<span id="waitMessage">Loading image. Please wait</span>
<div id="largeImageCaption">This is the caption of image number 1</div>
</div>
<div id="galleryContainer">
<div id="arrow_left"><img alt="left" src="gallery/arrow_left.gif"/></div>
<div id="arrow_right"><img alt="right" src="gallery/arrow_right.gif"/></div>
<div id="theImages">
<!-- Thumbnails -->
<a href="#" onclick="showPreview('gallery/image1_big.jpg','1');return false"><img alt="image1" src="gallery/image1.jpg"/></a>
<a href="#" onclick="showPreview('gallery/image2_big.jpg','2');return false"><img alt="image2" src="gallery/image2.jpg"/></a>
<a href="#" onclick="showPreview('gallery/image3_big.jpg','3');return false"><img alt="image3" src="gallery/image3.jpg"/></a>
<a href="#" onclick="showPreview('gallery/image4_big.jpg','4');return false"><img alt="image4" src="gallery/image4.jpg"/></a>
<a href="#" onclick="showPreview('gallery/image5_big.jpg','5');return false"><img alt="image5" src="gallery/image5.jpg"/></a>
<a href="#" onclick="showPreview('gallery/image6_big.jpg','6');return false"><img alt="image6" src="gallery/image6.jpg"/></a>
<a href="#" onclick="showPreview('gallery/image7_big.jpg','7');return false"><img alt="image7"src="gallery/image7.jpg"/></a>
<a href="#" onclick="showPreview('gallery/image8_big.jpg','8');return false"><img alt="image8" src="gallery/image8.jpg"/></a>
<!-- End thumbnails -->
<!-- Image captions -->
<div class="imageCaption">This is the caption of image number 1</div>
<div class="imageCaption">This is the caption of image number 2</div>
<div class="imageCaption">This is the caption of image number 3</div>
<div class="imageCaption">This is the caption of image number 4</div>
<div class="imageCaption">This is the caption of image number 5</div>
<div class="imageCaption">This is the caption of image number 6</div>
<div class="imageCaption">This is the caption of image number 7</div>
<div class="imageCaption">This is the caption of image number 8</div>
<!-- End image captions -->
<div id="slideEnd"></div>
</div>
</div>
</div>
How do I get the arrows to stay as arrows?
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
|
|
|
|
|
Dave, change both the lines in your js file
from
this.getElementsByTagName('IMG')[0].src = 'images/' + this.id +
to
this.getElementsByTagName('IMG')[0].src = 'gallery/' + this.id +
then your left and right arrows appear. Also, your web server is showing a security issue insofar that the directory of folders is displayed.
modified on Monday, April 19, 2010 6:53 PM
modified 1-Aug-19 21:02pm.
|
|
|
|
|
Thanks, I new there had to be something obvious I had missed!
As for the security issue, I will have to contact the hosting company tomorrow.
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
|
|
|
|
|
Dalek Dave wrote: As for the security issue, I will have to contact the hosting company tomorrow.
They might tell you to set them yourself. Set this via your FTP program (FileZilla for example).
modified 1-Aug-19 21:02pm.
|
|
|
|
|
I am using filezilla, how would I change this setting?
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
|
|
|
|
|
|
Omce more, a big thankyou!
I shall look into this in the morning, when my brain is up to speed.
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
|
|
|
|
|
Hi,
Though the ques is more related to client installation, than web installation, I could not find a better place to post
Question:
Whenever I do a new release of my product, I need to install the same on around 300 clients for each customer. Is there any way to automate
a) previous client removal
b) new client installation
Gurpreet
|
|
|
|
|
Yes
If your CPMRU(mind-reading) unit is functioning as well as you expect ours to be, you'll already have read the remainder of the answer from my mind.
Enjoy!
|
|
|
|
|
The subject says it all, ClickOnce. With ClickOnce you don't have to push updates to all of the clients, you can set the application to check and retrieve any updates before it starts.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
How about installing/distributing the product, and to update only components of that installation?
I imagine that replacing a few class-libraries would be simpeler than doing a complete rollback of a previous installation.
I are Troll
|
|
|
|
|
I need to programatically get all child requests that will be generated when a particular URL is opened in Internet explorer.
eg. stylesheets, javascripts, images etc.
Anything that the browser may request after I pass a URL to it.
Note that I will not actually be opening the url in a browser. I need to make a piece of code to which the input will be a url, and output would the list of child-requests.
Any idea, how this can be achieved.
|
|
|
|
|
Well you code will need to fetch the document
pointed to by the url then parse the document
to find stylesheets, javascripts, images etc,
then parse out the address they point to.
And dont forget requests which may be generated
by javascript(xhtmlreq) , also the stylesheets
and external javascripts may generate further
requests.
GoodLuck
|
|
|
|
|
Hello codeproject professionals,
Please help me in :
"When I write in a textbox, I want to show the words written in the same page without posting the page".
The process is occurring simultaneously that is: "When a user is writing in the textbox, the words written I can make them displayed in the same page in other place". See example:
Ex: http://tareemnet.com/os.png
modified on Sunday, April 18, 2010 9:30 AM
|
|
|
|