SIGN IN
::
SPONSORS
::
ABOUT US
::
CONTACT US
FORUMS
TUTORIALS
MAGAZINE
DVDs
BOOKS
PODCASTS
EVENTS
SERVICES
NEWSLETTER
NEWS
BLOGS
WEB:
Web Design Forum
- Tutorials
Dreamweaver Forum
- Tutorials
Flash Forum
- Tutorials
Web Streaming
Training
Re: Putting contents into an inline frame
Cow Forums
:
Web Design
VIEW POSTS
•
ADD A NEW POST
•
SEARCH
•
CHANGE FORUM
Respond to this post
•
Return to posts index
•
Read entire thread
Re: Putting contents into an inline frame
by
Curtis Thompson
on May 17, 2007 at 4:25:56 pm
hello...
in that case, you need to pass a get parameter to the 2nd page that tells it what page to load, and then parse parameter either with javascript (less reliable) or make all your pages a server side script page like php or jsp or asp or the likes...
the first page link would be something like:
[a href="page2.html?isrc=software.html"]page 2[/a]
and then page 2 would parse that passed parameter and show the proper iframe source using the above code, or even simpler would just be to make the iframe source the isrc param directly...
i don't know if such a change is feasible on your site - again, you can parse the parameter and extract it using javascript on page 2, but if the user has javascript disabled (and some do for paranoia reasons), then your system won't work...but php or a server-side language can easily read parameters:
$_GET["isrc"]
so it'd be much easer to grab that parameter. but if you are not comfortable with converting your site to use a scripting language, then i could make a mockup of the javascript concept for you...
sitruc
Respond to this post
•
Return to posts index
•
Read entire thread
Current Message Thread:
Putting contents into an inline frame
by Dan Barter on May 16, 2007 at 2:01:44 pm
Re: Putting contents into an inline frame
by Curtis Thompson on May 16, 2007 at 3:37:05 pm
Re: Putting contents into an inline frame
by Dan Barter on May 17, 2007 at 4:14:33 pm
Re: Putting contents into an inline frame
by Curtis Thompson on May 17, 2007 at 4:25:56 pm
Re: Putting contents into an inline frame
by Dan Barter on May 18, 2007 at 1:20:24 pm
Note:
If you are a registered user please
click here to login
before posting.
Your post will not be accepted if your name and email address are not registered in our database. Click
here
if you do not have an account.
Name
E-Mail Address
Subject
E-Mail me when someone responds
Just This Message
Entire Thread
None
Message:
Note:
The following are HTML characters and may cause parts of your post to disappear if not used correctly: < > &
To include any portion of the post in your response, highlight the desired text and hit the "Q" key.
Read more...
Add your message signature
Note:
By clicking "Post Direct" button above, you are agreeing to the Creative Cow's
Code of Conduct
.
FORUMS
•
TUTORIALS
•
MAGAZINE
•
DVDs
•
BOOKS
•
PODCASTS
•
EVENTS
•
SERVICES
•
NEWSLETTER
•
NEWS
•
BLOGS
©
CreativeCOW.net
All rights are reserved.
[
Top
]