new window code
- Started
- Last post
- 37 Responses
- johndiggity0
i think it's under the window postion values in the script. if it's not there you will have to add it. use %'s and play around with it till you get it where you want it.
- warheros0
buh? randomly throw in %%'s? haha...dont know what you mean.
i got the photos and the experiments done: http://www.paulhanger.net
- johndiggity0
i meant if you want to center the pop ups in the middle of the monitor use % values not pixels, ie x=38% y=22%. check your hover state on the links as well. they seem to be a bit large.
- warheros0
ah, okay. yeah i just changed those and i am changing them back. i thought it might be cool but it's just annoying.
thanks for everyone's help!
%'s...where do i put them in the code? can you give me an example?
- brozilla0
http://www.flevooware.nl/dreamwe…
try this DW extension...(free)
never used it before, but once you download and install it, DW will do ALL the JS coding for ya...to your paramaters that is.
if you do use it, let me know how it works!
- warheros0
okay, where does it go after i install it? cant seem to find it...
- brozilla0
check the insert tab bar...maybe?
- johndiggity0
double click it to open the extension manager that was included with your legal copy of dw and install it. i just ran it and it looks to be all that and a bag of chips.
- ribit0
If anyone is trying to do this with GoLive, these guys make great Actions:
http://www.outactions.comUnfortunately their Popup window with resize-to-fit isnt working in Safari (it resizes smaller than the image). Does anyone know why?
- johndiggity0
it depends if you have other stuff like status bar, tool bar, bookmarks... in the window in question. if you turn all that shit off it should resize correctly.
- ribit0
Are you talking about the Out Pop Action? Its a known bug, even with everything switched off.
- johndiggity0
??? i was talking about whatever you where. i just make them a little larger than hey need to be and add scrollbars=no, resize=no.
- ribit0
I'm talking about a popup script that auto-sizes to the size of the image (like the original poster). We're not manually setting the window size.
- warheros0
okay sweet, got that shit to work. only thing is why cant i select the "center" option? i HAVE to put in pixel distance values? if that's the case i cant ever get it centered because peeps dont all have the same resolution.
??
- johndiggity0
like i said, use % not pixels.
- warheros0
ahhhh okay, i remember you telling me that now.
anyways, check it out. everything but the sketches are all pretty. oh and i fixed the videos; no more gay water marks from sorenson.
- warheros0
booya. everything done. ill do percentages later.