Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. sorenchr

    Expand/collapse script problem

    Minor change to the code: <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;"> 2 </div> <br> <a...
  2. sorenchr

    Expand/collapse script problem

    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;">...
  3. sorenchr

    Expand/collapse script problem

    Thanks! Works like a charm
  4. sorenchr

    Expand/collapse script problem

    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"...
  5. sorenchr

    Retrieve URL from a frame?

    So that the user gets the message, "You chose yahoo.com!" instead of google.
  6. sorenchr

    Retrieve URL from a frame?

    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...
  7. sorenchr

    Retrieve URL from a frame?

    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...

Part and Inventory Search

Back
Top