PDA

View Full Version : frustrated with iframe resize, firefox, code


ecompsp
10-10-2006, 04:26 AM
I am attempting to run a javascript URL variable that can only be contained inside an iframe/layer.......I don't have target= capability to target a second iframe but I want to load the contents of the iframe into either a second larger iframe/layer, or resize the iframe inside of a layer..........

the example of what I want to resize can be found at

http://www.bigsite.us/catalog/product_info.php?products_id=3816 .....right now, if you click on the buynow button it brings up the link and a full page.........I want to modify it so I can load the frame first with the same link, but in a small frame and have it reload to the full size iframe/layer on a click or other mouse event.............ie: eliminate having to click twice by loading the link in a small iframe/layer and resize it to the full page.......

NOTE:..........need a cross-browser solution........that makes it much tougher with firefox included:confused:

_Aerospace_Eng_
10-10-2006, 04:37 AM
Do you have access to the pages that you are trying to load into the iframe?

ecompsp
10-10-2006, 12:27 PM
yes, all the first level iframes are on my domain.........thanks for the reply:thumbsup:

ecompsp
10-11-2006, 02:45 PM
have had thoughts about resizing the DOM Iframe script from Dynamic Drive.........but novice ability is lending to difficulty...........:(

_Aerospace_Eng_
10-11-2006, 04:11 PM
Use the SSI2 Iframe resize script. http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm
All you have to is read the directions carefully and follow them and you shouldn't have any problems. Again I repeat read ALL directions carefully.

ecompsp
10-11-2006, 09:03 PM
I have been toying with that, but I need to resize the layer too:confused: