This is a discussion on "Where am I going wrong?" within the Flash & Multimedia Forum section. This forum, and the thread "Where am I going wrong? are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Where am I going wrong?
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Where am I going wrong?
Please check out my website: http://www.2926.karoo.net/
This is the coding for the 'Breakfast' link: on (press) { getURL ("javascript:openNewWindow('breakfast.html','thewi n' ,'height=593,width=425,toolbar=no,scrollbars=yes') ;"); } 425 is the exact width of the two images, so why is there a horizontal scrollbar!? Thanks, James |
|
|
|
|||
|
Re: Where am I going wrong?
It's because you have scrollbars in the script, you didn't specify which scroll bar you wanted...You said scrollbars, which means there will be more than one.
Besides, it didn't seem to affect the menu in any way. |
|
|||
|
Re: Where am I going wrong?
scrollbars=yes ?
did you allow for the width of the scroll bar in the box with? if not extend the width by 24pixels |
|
|||
|
Re: Where am I going wrong?
I think I had already worked it out by the time I got my first reply which is why it looked fine ... I didn't allow for the width of the scroll bar in the window (as acidgreen suggested.) It was 16px, not 24, that I had to extend it by.
Could anyone tell me how to change the coding so that the pop-ups are positioned in the centre of the screen? Also, when you click, for example, 'Express Lunch' and then click 'Desserts' (without closing the 'Express Lunch' window) the 'Desserts' menu will appear in the 'Express Lunch' window. Could anyone tell me how to solve this problem? Thanks, James |
|
|||
|
Re: Where am I going wrong?
Acrikey, the content in 'location' isn't complete. I just typed in the address as a temporary thing. I'm waiting on the owner to send me what he wants in there.
|
|
|||
|
Re: Where am I going wrong?
Yeah, you have to account for the scrollbars/browser windows as well when you are doing something like this, since it's resizing a new browser window...not just the .html part of it.
Glad things worked out.
Last Blog Entry: Yay!? (Oct 8th, 2007)
|
![]() |
| Tags |
| flash, menu, popup |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| What am I doing wrong?? | PunkManager | Starting Out | 3 | Sep 4th, 2007 12:54 |
| Something wrong | Daniel | Webforumz Cafe | 11 | Jul 20th, 2007 18:08 |
| What's gone wrong? | Alsilver | Web Page Design | 2 | Oct 22nd, 2006 14:11 |
| what am i doing wrong? | bsadaz | Web Page Design | 4 | Oct 16th, 2006 11:41 |