Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
WEB: Web Design Forum- TutorialsDreamweaver Forum- TutorialsFlash Forum- TutorialsWeb StreamingTraining

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:




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:

Add Bold Tag To Message (JavaScript required)

To put any item inside this tag:

1. Highlight the desired text
2.Click this buttonAdd Italic Tag To Message (JavaScript required)

To put any item inside this tag:

1. Highlight the desired text
2.Click this buttonAdd Underline Tag To Message (JavaScript required)

To put any item inside this tag:

1. Highlight the desired text
2.Click this buttonAdd Image Link Tag To Message (JavaScript required)

To put any item inside this tag:

1. Highlight the desired text
2.Click this buttonAdd URL Link Tag To Message (JavaScript required)

To put any item inside this tag:

1. Highlight the desired text
2.Click this button

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.



FORUMSTUTORIALSMAGAZINEDVDsBOOKSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

© CreativeCOW.net All rights are reserved.

[Top]