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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get URL !?!

Status
Not open for further replies.

levra

Technical User
Feb 10, 2002
1
CH
Little Ouestion

I'm trying to get an URL using a button.
But my button is located into a frame and the URL I want to get should be opened in the mainframe.
The Action (_parent) open a new page ???

on (release) { getURL ("Panier.htm", "mainFrame");} this doesnt work ?!?

Thanks

 
Try the full path.
Code:
getURL("[URL unfurl="true"]http://www.yourserver.com/iffolder/Panier.htm",[/URL] "mainFrame");

Regards,
new.gif
 
You should use the name of the frame in which you want the url openend so don't use _parent but _nameofframe.

Good luck
 
The best advice i got from "oldnewbie" was to use _root.instancename because it will always load to the mainframe. This is just a hint, so that u only hvae to remember one command and it will ALWAYS TAKE U TO THE TOP.

I thought _parent only went up one step , meaning just one level up. Like, if you had a clip called 1, witha clipp called 2 inside of 1, then a clip called 3 inside of 2, if u put _parent.instance to direct clipe 3 it would take u only to clip 2. But if you wanted clip 3 to play on clip 1's level, you should put _root.instancename. I hope that makes some sense hhahahah.
Just some advice i got that works for me :)
 
Oh shiznit,

I read your question wrong hahahaha. You want to load it into a certain frame in html is what your saying.

Yeah, if you view your source code, your html editor automatically names your frames as u make them. Its usually somethin like "framename=blah" or something like that. Just make the frame, view the source, and u will see what I am talking about. Then you put that name in the "target" area, not a reserved command like _parent or _mainframe or _topframe
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top