Script hunting
Ok, I have hunted on all the main script sites, hotscripts, java source.
What I'm looking for is something that will do this: ordinarymorning.net
The top menu. Any ideas of where I could get this one? I checked her source code, but there isn't a reference, which makes me think she wrote it herself. Yes, I have thought about writing her and asking her, that will be my next step, but I wanted to ask here first.
Is it just a basic mouseover script with something added? I did read the script source and I'm lost on how to figure out how she did this. Script code isn't my strong point!
Help would be great as I'm working with a deadline on this one...thanks in advance!
Sara
~*Sara*~
zollet posted this at 02:07 — 29th September 2002.
He has: 1,016 posts
Joined: May 2002
That is really easy to do. Just use a simple onmouseover/out javascript that changes the image but instead of having it change the image you put your mouse over, have it change the image you want. This is simply done by replacing the name of the image to the image you want.
Megan posted this at 02:28 — 29th September 2002.
She has: 11,421 posts
Joined: Jun 1999
Actually, the one on that page is just a simple mouseover script. The words and the picture are in the mouseover image, while the "off" state just has a white space where the words go.
If you want to do this with the mouseover effect showing in a different part of the page (i.e. not adjacent to the image you're mousing over), then you'd do as zollet said. If you still need help, try searching for a fancy rollover, or double rollover script - it'll be something along those lines. I also remember having a dreamweaver extension that would do this too.
Megan
Connect with us on Facebook!
DC_Sara posted this at 10:52 — 29th September 2002.
She has: 392 posts
Joined: Jan 2002
Thanks Zollet, sometimes cold meds make you fuzzy brained.
Ooooooooooh thanks Megan! Now, that makes sense to me. I did see a double rollover at Hot scripts, but I wasn't sure if that's what I needed or not. I will look for the DW extension.
Sara
~*Sara*~
DC_Sara posted this at 15:57 — 29th September 2002.
She has: 392 posts
Joined: Jan 2002
Megan and anyone that is interested, we decided on this for the menu:
http://notsosimple.net/test/index.php
DW did that for me, in the rollover images.
Thanks for the reminder about the extensions though Megan, I found some that I was looking for!
Sara
~*Sara*~
DC_Sara posted this at 21:36 — 29th September 2002.
She has: 392 posts
Joined: Jan 2002
Okay, one more question, is there a way to tell a window what size to be when it opens? I cannot use pop-up with the rollovers, at least not the ones I tried worked. So, I have all the links opening in browser windows, but, I would like to make them a certain size.
Anyone?
Thanks,
Sara
~*Sara*~
Megan posted this at 12:39 — 30th September 2002.
She has: 11,421 posts
Joined: Jun 1999
I don't think there is a way to do that without using a pop-up. I could be wrong about that, I don't know.
You shoudl be able to call two javascript functions from a single href, or maybe you could post the script here and someone could help you modify it to open links in a pop-up.
Megan
Connect with us on Facebook!
zollet posted this at 13:40 — 30th September 2002.
He has: 1,016 posts
Joined: May 2002
I'm not sure if I understand what you're trying to do correctly, but I know JavaScript has the function resizeTo() which can be used to resize an already open window (i.e. put it in the HTML in the new page).
Megan posted this at 13:46 — 30th September 2002.
She has: 11,421 posts
Joined: Jun 1999
Yeah, you could just do an onload="javascript:resizeTo(500, 300);" in your body tag, although the viewer would see the window open to full size and then resize itself. It's a bit of a hack.
Megan
Connect with us on Facebook!
zollet posted this at 14:12 — 30th September 2002.
He has: 1,016 posts
Joined: May 2002
You could also go home to your visitors and resize the browser window manually Seriously though, if you put the code in the header, wouldn't it then resize when the window opens rather than after the page has loaded?
DC_Sara posted this at 19:39 — 1st October 2002.
She has: 392 posts
Joined: Jan 2002
Thanks Megan for that idea. I tested it and it does resize after the page is loaded. Thanks for all the input, the blog is now complete! notsosimple.net/blog/ Hopefully she will hire me to complete the rest of the site~
Sara
~*Sara*~
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.