#1 (permalink)  
Old 03-07-06, 11:42 AM
timmy long timmy long is offline
Newbie Coder
 
Join Date: Mar 2005
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
iFrames

i have a couple questions regarding iframes. hopefully someone could answer them...

#1 - I've seen on websites how an image outside of the iFrame can overlap the iFrame. in my experience all the images that come in contact with the iframe box get chopped. How do you make it overlap?

#2 - I can't get Dreamweaver to recognize my iFrames as actual frames and so I haven't been able to target links directly to the iFrame. Instead I've been having to create a whole new page each time with the internal iFrame page that i want set as default. anyone have a better iframe script or something you can toss my way??? there must be a more efficient way of doing this.

thanks everyone.
__________________
John 3:16
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 03-07-06, 07:46 PM
coolmark18's Avatar
coolmark18 coolmark18 is offline
Newbie Coder
 
Join Date: Oct 2005
Posts: 94
Thanks: 0
Thanked 0 Times in 0 Posts
1. In the <iframe></iframe> tag use "allowtransparency=yes" that will allow any background image on the main page to blend into your iframe in both Firefox & IE.

2. In the <iframe></iframe> tag, set name=iframe. Then when creating links, link them to the iframe frame. This will change the page.

For example:

<iframe src="home.html" name="content" allowtransparency="true" height="340"width="530"></iframe>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 03-08-06, 11:40 AM
Christian's Avatar
Christian Christian is offline
Community VIP
 
Join Date: Mar 2005
Location: ProgrammingTalk
Posts: 2,449
Thanks: 0
Thanked 6 Times in 5 Posts
Just like coolmark18 said create a iFrame like
Code:
<iframe src="home.html" name="iframenamehere" allowtransparency="true" height="340" width="530"></iframe>
then to link to the iframe use
Code:
<a href="http://thelike.com" target="iframenamehere">the text</a>
__________________
:: ImperialBB :: New version in the works! :: http://www.imperialbb.com ::

:: Have a question about the board? The Rules? An Infraction/Warning? :: Contact Form ::
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 03-09-06, 05:04 PM
timmy long timmy long is offline
Newbie Coder
 
Join Date: Mar 2005
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
thanks so much guys for the help. that worked perfect.
__________________
John 3:16
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
hide scrollbars in iframes perleo HTML/XHTML/XML 1 08-25-05 02:59 PM
IFrames & Drop-Down Boxes craig_1981 HTML/XHTML/XML 1 06-23-05 10:18 PM
Perl CGI Cookies Iframes kathryn Perl 2 02-04-05 01:53 PM
Dynamic content using php?, iframes dont work in firefox Bazzio PHP 4 01-12-05 09:41 PM
NEED help with positioning iframes or table on my page please help thanks cgrossi04 HTML/XHTML/XML 4 09-03-04 09:54 PM


All times are GMT -5. The time now is 08:41 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.