User Profile
Collapse
-
i would like to know, if there is any other method ,which would make my iframes to call my function onLoad, with out even inserting anycode in the iframe content. -
To make my iframe to access my javascript function i thought of inserting the below tag in my iframes.
<body onload="link disabling_funct ion (document) ;">
</body>
but most of my iframe's content starts in one file and ends in another file,
hence to insert a body tag for an iframe i require to change two files for an iframe.
Hence without doing this if i thought of including the below script...Leave a comment:
-
how to make my iframe to call my script
This code works very well, Thanks alot for the reply.
but i still have a probelm in implementing this.
My Web site has large number of iframes, and the content of the iframe starts in one file and ends in another file,so inserting a body tag and an onload method in the body tag becomes a bit difficult. hence i thought of inserting the below javascript to all my iframes...Leave a comment:
-
How to make the iframe's to call my function remotely?
i am trying to disable some of the anchor tags which are linked with particular onmouseover and onmouseout events.i have written a javascript function.when i called this function on load of the document body, it is able to disable the tags.But when the body of the page has iframes, this script is unable to disable the tags with in the iframes. since "document.getel emetbytags" is not returning the anchor tags with in the iframe.so i need... -
Hi
i was also looking for the same question, Tie::File answered all my questions, Thank you Kevin and bytes forumLeave a comment:
-
i understood that this stylesheet disabling property is achived with javascript's dynamic behaviour.[if i misunderstood correct me]
gits and RSmastermind thank you for your help.Leave a comment:
-
How does the Link objects's disabled poperty works internally?
Hi All
If i use the below code i am able to disable the style sheet of a document.
But i wanted to understand how this disabled property works internally? becaues in html normally if we do any change that will be reflected only after refresh. but here the stylesheet change of a html document is achieved with out any refresh. i want to understand how this achieved. Can any one help me?
Code:<html>
-
-
Thank you for the reply. Will definitly make use of them and reply backLeave a comment:
-
What is the better way to preload images?
Hi
i have the used the below code to switch the button image on mouseover
and mouseout.
Code:<html:button property="Button" value="Display" styleClass="displaybutton" onmouseover="this.className='displaybutton displaybuttonover'" onmouseout="this.className= 'displaybutton'"/>
-
oh...what's wrong with this solution?
will it fail in any case?I am not aware of the impact of this solution i just tried it
Please Advise!Leave a comment:
-
Hi All
Thanks for the reply Acoder. The link given was helpful.
i have solved the above problem, using the below code.
for(i=0; (a = document.getEle mentsByTagName( "iframe")[i]); i++)
{
a.src=a.src;
}
Happy to be a member of this forum:-)Leave a comment:
-
-
I am in situvation where i could not change any of my get to post method, with out changing get to post, is there any way to avoid this alert.Leave a comment:
-
The below shown is the code that i am trying to refresh the iframe.
for(i=0; (a = document.getEle mentsByTagName( "iframe")[i]); i++)
{
a.contentWindow .location.reloa d();
}Leave a comment:
-
How do avoid IE alert
i am trying refresh the iframe, ie browser
gives me the below alert.
The page can not be refreshed with out resending the information.cli ck retry to send the information again or click Cancel to return to the page that you were trying to view.
i am expecting your valuble comments on
why am i getting this warning.and
how to avoid this warning.
Please help me . -
Revathi Balakrishnan replied to trying to identify whether a particular iframe is existing in a pagein Javascript"a.location.rel oad" does not work,
but a.contentWindow .location.reloa d();
works fine.
Thanks for the help. really happy to a memeber of this forum.Leave a comment:
-
Revathi Balakrishnan replied to trying to identify whether a particular iframe is existing in a pagein Javascripthi i have understood my problem in the previous question, i have modified my my code but still i am getting "variable has no properties error", hope you would give me your valuable advice.
To automatically refresh all the iframes in my web page
i have tried to get my iframes's name in a variable called nam, and using that variable i am trying to refresh it, but i am getting nam.location.re load...Leave a comment:
-
Revathi Balakrishnan started a topic trying to identify whether a particular iframe is existing in a pagein Javascripttrying to identify whether a particular iframe is existing in a page
i have used the below code to find out , whether the below named "rightnav" iframe is existing. But when i use this code it throws object required error. Expecting your help on this
Code:<script lanquage="Javascript"> if(window.document.getElementById('1').title=="rightnav") alert("got it"); </script>
-
Revathi Balakrishnan replied to ie gives a blank page with the below script, but fire fox works finein Javascripti have achived image swapping with the below code
Code:<img name="picture" src="icon1.gif" onClick="swapimage();"></a> swapimage() { window.document.picture.src="icon2.gif"; }
Leave a comment:
No activity results to display
Show More
Leave a comment: