Old 12-04-2005   #1 (permalink)
Registered User
 
jimmy1012's Avatar
 
Join Date: Jun 2005
Location: Longview,Texas
Posts: 105

Send a message via AIM to jimmy1012
Fancy Iframe do-dads

I am currently working on a website, and was wondering how to make a button on the site redirect the iframe to a predetermined url. also (seperatly) I was wondering if you could set more than one url in list form(so they cycle). I have other questions but I will wait till I need them answered to ask(or try and figure it out myself.)

jimmy1012
jimmy1012 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 12-04-2005   #2 (permalink)
Registered User
 
Join Date: Dec 2005
Posts: 5

like the target attribute of a link?
pipersdragon is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 12-04-2005   #3 (permalink)
code anyone?
 
scrowler's Avatar
 
Join Date: Feb 2004
Location: New Zealand
Posts: 590

Send a message via MSN to scrowler Send a message via Skype™ to scrowler
cycling links would require the use of an external script i.e. javascript/php etc
__________________
BioRUST Tutorials - the birthplace
scrowler is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 12-04-2005   #4 (permalink)
Yup, that's meee!
 
thecubed's Avatar
 
Join Date: Jun 2004
Location: Infront of my screen (most of the time)
Posts: 89

Send a message via AIM to thecubed Send a message via Yahoo to thecubed Send a message via Skype™ to thecubed
To address your Iframe link problem...
create an Iframe with this code:

<iframe src="*yourpagenamehere*" name="iframe" id="iframe" marginwidth="0" marginheight="0" width="*width*" height="*height*" frameborder="0"></iframe>

and use a link like this
<a href="yourpagehere" target="iframe">Link Text</a>.
When the link is clicked, it will redirect the iframe to the page of your choice.

To use a cycling link, like scrowler said, would require some external script.
There are a few ways that could be addressed-
1. Use javascript to change the page after each click (ordered)
2. Same as above, but randomized

-I hope this helps
__________________

www.thecubed.com <--- TheCubed Homepage!
thecubed is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 12-04-2005   #5 (permalink)
Registered User
 
jimmy1012's Avatar
 
Join Date: Jun 2005
Location: Longview,Texas
Posts: 105

Send a message via AIM to jimmy1012
Yes cubed, this is very helpful. Thanks for your help(all of you). I plugged in that to my website and it works perfectly. I found a cool code that puts the history command in an href and plugged that in to get exactly what I wanted.For now this is it, but I may have more questions in the future.

Last edited by jimmy1012; 12-04-2005 at 09:29 PM..
jimmy1012 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 12-04-2005   #6 (permalink)
Yup, that's meee!
 
thecubed's Avatar
 
Join Date: Jun 2004
Location: Infront of my screen (most of the time)
Posts: 89

Send a message via AIM to thecubed Send a message via Yahoo to thecubed Send a message via Skype™ to thecubed
To make a link pop up in a new window, just add this to your html code <a href="yourpagehere" target="_blank">Link text</a>

The _blank tells the browser to spawn a new window. If you want to make the window a specific size, then use this:
<a href="#" onclick="window.open('yourpagehere', 'popupIDhere', 'width=WIDTHhere, height=HEIGHThere')">Link text</a>

Anything else?

-hope that helps
__________________

www.thecubed.com <--- TheCubed Homepage!
thecubed is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 12-04-2005   #7 (permalink)
Yup, that's meee!
 
thecubed's Avatar
 
Join Date: Jun 2004
Location: Infront of my screen (most of the time)
Posts: 89

Send a message via AIM to thecubed Send a message via Yahoo to thecubed Send a message via Skype™ to thecubed
On your Ipod page, after clicking 'charge ipod', clicking main menu does nothing.
Your code is <a href="javascript:history.go(-1)" target="podscreen">...
The history does not work in firefox (for me atleast)
Just thought to let you know
__________________

www.thecubed.com <--- TheCubed Homepage!
thecubed is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 12-05-2005   #8 (permalink)
code anyone?
 
scrowler's Avatar
 
Join Date: Feb 2004
Location: New Zealand
Posts: 590

Send a message via MSN to scrowler Send a message via Skype™ to scrowler
an alternative to history.go(-1) is history.back(1). you should try to avoid using this in links at all if possible, beacuse i have noticed that using javascript to change the location of your browser causes problems in the browsers history, i.e. if you click a link which uses javascript to goto another page, then click back, it will go back to the page before the original one because the original one didn't get added to the history... if that makes sense
__________________
BioRUST Tutorials - the birthplace
scrowler is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 12-06-2005   #9 (permalink)
Registered User
 
jimmy1012's Avatar
 
Join Date: Jun 2005
Location: Longview,Texas
Posts: 105

Send a message via AIM to jimmy1012
If I sent someone the images I want in my scrollers on my Iframe, could someone code it and send it back? I was looking into doing that last night and I feel it is a little to complicated for me. Thanks

Jeremiah
jimmy1012 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Iframe in Firefox vs. Iframe in IE/Opera... Transparen problems... AnachroNia HTML / PHP / ASP / JS 5 11-29-2005 11:40 PM
iframe history.back() Uncle Ghed HTML / PHP / ASP / JS 4 06-27-2005 04:48 PM
Iframe and Expandable Content Boxes are evil ! ViciOuS HTML / PHP / ASP / JS 7 05-22-2005 07:32 AM
linking to an iframe doubled HTML / PHP / ASP / JS 3 08-01-2004 12:28 AM
horizontal scrollbar in iframe problems julio7 HTML / PHP / ASP / JS 2 04-28-2004 06:36 PM


All times are GMT +1. The time now is 05:49 PM.
Content Relevant URLs by vBSEO 3.2.0

Design & Content © BioRUST 2008 :: PRIVACY STATEMENT :: LEGAL INFORMATION :: ADVERTISING MEDIA KIT