Jump to content


Photo

Help with frames please


  • Please log in to reply
1 reply to this topic

#1 Yesideez

Yesideez
  • Members
  • PipPipPip
  • Advanced Member
  • 2,334 posts
  • LocationDevon, UK

Posted 20 July 2006 - 05:35 PM

I've downloaded a very nice menu script and when you select one of the options it calls one line that activates the following:

window.location=url;

Now in my window I have set 3 frames, a title bar called fmetitle, a menu called fmemenu and the main area called fmebody.

If someone would be kind enough to tell me how to modify the above line of javascript to point to a specific frame (fmebody) and update it instead of breaking out of the frames I'd be most grateful. I don't want to go editing all my code and find my idea doesn't work which is this:

window.fmebody.location=url;

Am I right on that or is it not so obvious?

Many thanks.
Not a pro just an enthusiast :)

if (empty($coffee)) {$coffee=new coffee();}

Please surround any code using the CODE tags - I rarely look at anything without them

#2 Yesideez

Yesideez
  • Members
  • PipPipPip
  • Advanced Member
  • 2,334 posts
  • LocationDevon, UK

Posted 20 July 2006 - 06:11 PM

All sorted. Just realised I'm working on this site because I'm bored and the script will only update the frame that the script is called in so no worries :D
Not a pro just an enthusiast :)

if (empty($coffee)) {$coffee=new coffee();}

Please surround any code using the CODE tags - I rarely look at anything without them




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users