HighDots Forums  

Limiting FRAME size

alt.discuss.html alt.discuss.html


Discuss Limiting FRAME size in the alt.discuss.html forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Robert Wagner
 
Posts: n/a

Default Limiting FRAME size - 07-21-2003 , 03:14 PM






I'm attempting to create a two-frame (one row) frameset wherein the
right frame is smaller than the content of its source. Then, when it
loads, the user has to click on the left image in the right frame to
scroll over to the right part of the frame's content.

You can see what I've got so far at
http://home.gwi.net/~rwagner/RTst/RRT.htm. If you keep the window width
small enough, you'll get the effect I'm after. However, even if the view
opens with a very wide window, I want to have only the left portion of
the right frame's content initially visible.

Is this possible? How?

TIA
Robert



Reply With Quote
  #2  
Old   
Robert Wagner
 
Posts: n/a

Default Re: Limiting FRAME size - 07-28-2003 , 02:15 PM






Ultimately, the left picture will be a group of pictures (either am
image map or a group of thumbnails). Click on one will load a larger
version of the thumbnail, with appropriate text, and scroll over. It's
really just a different way of changing frame content.

However, it can't work if the width of the right frame grows with the
window width. I haven't found a way to stop this.

Thanks,
Robert
"Jens Duttke" <nospam_usenet (AT) digitalcube (DOT) de> wrote

Quote:
hi!

"Robert Wagner" <RobertWagner (AT) alum (DOT) mit.edu> schrieb im Newsbeitrag
news:QYWSa.165939$8B.17704 (AT) twister (DOT) nyroc.rr.com...

I want to have only the left portion of
the right frame's content initially visible.

Is this possible? How?

I wonder what you plan to do with that. What should be the sense of
scrolling between the pictures ?

Since not every browser support JavaScript or the user has disabled
JavaScript, your scroll function will not work everywhere.
So, if these 2 pictures are the only content on the page, i would
recommend
to make 2 different pages.
One page with the first picture, and the other with the second, and
then use
a simple <a> to jump between both pages. That would be the most
compatible
way.

If you still what to do it using JavaScript, i would recommend to
simply
change the image-src instead of scrolling ... like :

img src="../Robert.jpg" width="113" height="168" onclick="if
(this.src=='http://home.gwi.net/~rwagner/Robert.jpg') {
this.src='../transport_pgs/ebus.jpg'; this.width='216';
this.height='117'; }
else { this.src='../Robert.jpg'; this.width='113';
this.height='168'; }"
style="cursor:hand;" alt="" /

If that's not what you need, maybe you can expain a bit more what you
plan
to do.

Cu, Jens
---
http://www.pixelforge.de
http://www.digitalcube.de





Reply With Quote
Reply




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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.