Sijun Forums Forum Index
Log in to check your private messages
My Profile Search Who's Online Member List FAQ Register Login Sijun Forums Forum Index

Post new topic   Reply to topic
   Sijun Forums Forum Index >> Digital Art Discussion
View previous topic :: View next topic  
Author   Topic : "Dreamweaver Question"
Ben Barker
member


Member #
Joined: 15 Sep 2000
Posts: 568
Location: Cincinnati, Ohier

PostPosted: Wed Feb 20, 2002 3:43 pm     Reply with quote
Can you find any webpages where this is being done?
Sorry, I don't have a real answer.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Jabberwocky
member


Member #
Joined: 08 May 2000
Posts: 681
Location: Kansas

PostPosted: Thu Feb 21, 2002 12:23 am     Reply with quote
Okay I'm working on my class webpage and I can't figure out how to make a picture both mouse rollover and when clicked a new window pop up to a specific size. I can do the pop up and rollover but the pop up window isn't the size I want. How can I do both?

I tried making the picture rollover in Fireworks and take it in and using hotspot as window pop up (no rollover effect). I've tried making the picture rollover and just the hot spot link open the window (no rollover). I've tried making the picture both(will open window as rollover). Tried making hot spot both (no rollover).

I know it can be done, but how? My instuctor is just as stumped and told me to hunt down code and do it manually. If anyone can help please!
Back to top
View user's profile Send private message MSN Messenger
smalbrain
junior member


Member #
Joined: 31 Oct 2000
Posts: 41
Location: Australia

PostPosted: Thu Feb 21, 2002 3:18 am     Reply with quote
are you popping up the new window by pointing the link target to _blank or something similar?

you have to add some extra javascript code manually to get the window to change size - you can usually find a good tutorial or example you can cut and paste just by looking up javascript and window popup - what the hell i'll do it for you - http://javascript.internet.com/generators/popup-window.html

there - that should help

for your rollover image - just take the onClick="blah" event handler that this thingy generates and stick it under the onMouseover-"blahblah" in your code.

hope this helps.
Back to top
View user's profile Send private message Visit poster's website
strata
member


Member #
Joined: 23 Jan 2001
Posts: 665
Location: stockholm, sweden

PostPosted: Thu Feb 21, 2002 3:34 am     Reply with quote
here's the javascript I use for the popup window:

<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function Start(url) {
var n = window.open(url,'main','top=70,left=70,height=500,width=700,toolbar=no,status=no,directories=no,location=no,scrollbars=no,menubar=no,resizable=no')
}
// End -->
</SCRIPT>

I forgot to mention that 'main' is the page it's linked to, so the html file is called main.html, so if you change that to bleh it would say url,'bleh', etc =)

as for the mouseovers... I've never done them in dreamweaver... I've got a javascript for that too and as I usually only use homesite to code I just stick that in there... tell me if you want that as well.

edit: farther explanation

[ February 21, 2002: Message edited by: strata ]
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Jabberwocky
member


Member #
Joined: 08 May 2000
Posts: 681
Location: Kansas

PostPosted: Thu Feb 21, 2002 6:31 am     Reply with quote
Thank you thank you thank you.... you guys are such heros!!!!!
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Sijun Forums Forum Index -> Digital Art Discussion All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Powered by phpBB © 2005 phpBB Group