However, if i have several Menu items, like so:
<a href="javascript:doMenu('main');" id=xmain> Main Item</a>
<div id=main style="margin-left:0em; display:none;"> 1 </div> <br>
<a href="javascript:doMenu('main2');" id=xmain2> Main2 Item</a>
<div id=main2 style="margin-left:0em; display:none;">...
Hi, I'm currently using an expand/collapse script for my website, however, it seems that it is expanded by default. Now, I know absolutely nothing about javascript, so i was wondering if any of you could help me to get it collapsed by default :)
The script:
<script langauge="JavaScript"...
I know the idea seems fairly ridiculous, however I can assure you it makes sense in a bigger context =).
As for the answers so far, they have been very helpful, I wasn't exactly sure if javascript had a function where you could retrieve a URL from a frame.
However i have encountered yet...
Hi,
I have a fairly simple frameset:
Code:
<frameset rows="50%,50%"> <frame src="login/login.php" name="main"> <frame src="blank.htm" name="redirector" noresize scrolling="no"> </frameset>
The purpose of my site is to let the user click a link in the 'main' frame, which then loads in the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.