FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

A little menu

 


KHO
All l need is a menu that works with an iFrame, it will load a .txt file in the iFrame whenever l click the link to it, ex: l have 10 links on the page, they are all .txt files. l have an iFrame below, when l click one of these links, it needs to load in the iFrame, is this possible? Neutral Please say yes, l have been working on a script for something else for like 3 weeks straight now (about 2 hours of sleep a night, if that, due on sunday, so tonight, l get none Neutral).
Sebaci
you must name somehow the iframe, for example "frame".
When you have the .txt file, for example textfile.txt your link looks lite this:

Code:
<a href="textfile.txt" taget="frame">Text</a>
KHO
Thak you Neutral, l didn't know you could use a variable in a target Neutral l thought that only did like threee things Neutral Go figure Neutral.
And now Neutral, lets see if it will work in flash Neutral and make my life a lot better Neutral
*Please excuse the excess of "Neutral" l am excited Neutral and this is how l show it Neutral just incase you were wondering Neutral yeah Neutral
mathiaus
KHO wrote:
*Please excuse the excess of "Neutral" l am excited Neutral and this is how l show it Neutral just incase you were wondering Neutral yeah Neutral

For this post only

The code should read target="frame" not taget just incase it doesn't work
and change frame with the name of your frame
KHO
yah, l knew that, l wasn't too worried about his spelling, l got was he was trying to say Neutral But sadly Neutral it doesn't work in flash Neutral gah, back to trying to figure out a complex variable system Neutral l will use this as a back up if l can't figure it out by tomorrow afternoon though, l guess having an lframe is easy enough, l can load a .txt file without having to worry about coding anything Neutral
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.