SiteExperts.com Logo Home | Community | Developer's Paradise
User Groups | Site Tools | Site Information | Search
 Main Menu
 Resource

Targeting Layers

Categories...
Client User Group
Write Once!
Language
JavaScript
Product
IE4, NS4
Task
Cross-Browser DHTML, HTML Enhancement, Link Management
Technology
Dynamic Content

Sponsored Links
Developer's Paradise : Inside Technique :
Targeting Layers
Submission by SiteExperts Staff

Go to the resource:
Targeting Layers

Add to Assistant

Short Description
Cross browser technique to make layers act as a link target just like the IFrame element.

Long Description
Cross browser technique to make layers act as a link target just like the IFrame element.

Author
Scott Isaacs
Submission URL
http://www.SiteExperts.com/tips/contents/ts10/page1.asp
Submission Date
Jun 18,1998
 

Discussion and Rate this Resource
Overall Rating: 3.9

blricks on Oct 7, 2004 at 4:19:50 PMRating: 3
Having a problem with the layers not auto sizing vertically in ns 7.1 and firefox.

Take a look at the ddemmo: http://www.insidedhtml.com/tips/contents/ts10/demo.htm
it doesn't work there either. Is there a code update for the new browsers?

I NEED HELP BAD.

Thanks
razblack on Jan 25, 2003 at 11:15:42 AMNo Rating
In IE6 the iframe has a tendancy to 'expand' vertically. To fix this I had to make the follow change:
(from)
elFrame.style.height = f.document.body.scrollHeight

(to)
elFrame.style.height = 300 'static height

Maybe this is due to something else I change, but with the original code the height of iframe "content" continued to grow, and grow, and grow... hahah it was funny.
rburns1 on Jun 23, 2002 at 3:06:27 AMRating: 5

Problem #1:  Users cannot bookmark individual pages within our framed environment.

Problem #2:  To get around the problem of bookmarking individual pages, users open individual frame in a new window and bookmark.  When links change on main website these users are unaware of changes.

Questionable solution: Using layered pages to provide one frameless interface.  But even if this technique were used I'm unsure how to provide bookmarking?

JEEvans3 on May 21, 2002 at 2:12:45 PMNo Rating
With respect to the http://serverA and http://serverB problem, we get around that by using domain names like http://serverA.company.com and http://serverB.company.com. The cross-domain logic then considers the serverA and serverB to be subdomains of the company.com domain, which they share. For some browsers (I don't remember which ones) you might need to change the domain programmatically with document.domain="company.com" within each of the two files.
acsooley on May 15, 2002 at 8:46:48 AMNo Rating

Is there any way to disable scroll bars in IE so they dont show up like in Netscape. I want the frame to expand to the size of the included file by default.

 

Thanks,
Adam Sooley
http://www.adamsooley.com

 

More Ratings/ Comments


To rate and comment on a resource, you must first logon.

If you are not registered, please register yourself to become a member of the SiteExperts.community.

User Name
Password

Copyright © 1997-2008 InsideDHTML.com, LLC. All rights reserved.