Topic:Dreamweaver buttons Remainpoint:0
   
PostTime:12/16/2008 7:53:29 PM FloorTop
Lv is 1
Avatar
Level:
1
Professional point:
78
Experience:
9
Thread:
286
Post:
947
Total online time:
9M
Joined date:
4/29/2007 12:17:00 AM
Last Visit:
12/16/2008 11:26:07 PM
Status:
Offline
Can someone explain to me why is it that when you use a button in Dreamweaver (to link to another page) and browse in IE, when hovering over the button all is ok (i.e showing the hand all over the button ) but when I have uploaded the page to the internet, and tested what happens is that when hovering over the button it changes between the hand a the cursor?? ( basically seems to stay as a hand only when hovering over the writing, I have typed on the button??

This obviously look unprofessional, is this do to with adding "invisible buttons" (in flash) I was advised in an earlier thread? Just seems a bit odd that within Dreamweaver MX this can't be accomplished??

Thanks..
 
     
   
Gender PostTime:12/16/2008 8:07:09 PM Point:0 | Floor# 1
Lv is 1
portrait
Level:
1
Professional point:
96
Experience:
6
Thread:
271
Post:
1040
Total online time:
6M
Joined date:
4/28/2007 11:55:00 PM
Last Visit:
12/16/2008 11:36:22 PM
Status:
Offline
I think you have "sussed it"!! I took all the "Scrolling text" (java) out of the Home page and did a "browse" in IE and all seems OK.
Can you take a look at the Source Code and maybe advise what I can do to solve this??

<script language="JavaScript" type="text/JavaScript">
<!--
function MM_timelinePlay(tmLnName, myID) { //v1.2
//Copyright 1997, 2000 Macromedia, Inc. All rights reserved.
var i,j,tmLn,props,keyFrm,sprite,numKeyFr,firstKeyFr,propNum,theObj,firstTime=f alse;
if (document.MM_Time == null) MM_initTimelines(); //if *very* 1st time
tmLn = document.MM_Time[tmLnName];
if (myID == null) { myID = ++tmLn.ID; firstTime=true;}//if new call, incr ID
if (myID == tmLn.ID) { //if Im newest
setTimeout('MM_timelinePlay("'+tmLnName+'",'+myID+')',tmLn.delay);
fNew = ++tmLn.curFrame;
for (i=0; i<tmLn.length; i++) {
sprite = tmLn[i];
if (sprite.charAt(0) == 's') {
if (sprite.obj) {
numKeyFr = sprite.keyFrames.length; firstKeyFr = sprite.keyFrames[0];
if (fNew >= firstKeyFr && fNew <= sprite.keyFrames[numKeyFr-1]) {//in range
keyFrm=1;
for (j=0; j<sprite.values.length; j++) {
props = sprite.values[j];
if (numKeyFr != props.length) {
if (props.prop2 == null) sprite.obj[props.prop] = props[fNew-firstKeyFr];
else sprite.obj[props.prop2][props.prop] = props[fNew-firstKeyFr];
} else {
while (keyFrm<numKeyFr && fNew>=sprite.keyFrames[keyFrm]) keyFrm++;
if (firstTime \\ fNew==sprite.keyFrames[keyFrm-1]) {
if (props.prop2 == null) sprite.obj[props.prop] = props[keyFrm-1];
else sprite.obj[props.prop2][props.prop] = props[keyFrm-1];
} } } } }
} else if (sprite.charAt(0)=='b' && fNew == sprite.frame) eval(sprite.value);
if (fNew > tmLn.lastFrame) tmLn.ID = 0;
} }
}

function MM_timelineGoto(tmLnName, fNew, numGotos) { //v2.0
//Copyright 1997, 2000 Macromedia, Inc. All rights reserved.
var i,j,tmLn,props,keyFrm,sprite,numKeyFr,firstKeyFr,lastKeyFr,propNum,theObj;
if (document.MM_Time == null) MM_initTimelines(); //if *very* 1st time
tmLn = document.MM_Time[tmLnName];
if (numGotos != null)
if (tmLn.gotoCount == null) tmLn.gotoCount = 1;
else if (tmLn.gotoCount++ >= numGotos) {tmLn.gotoCount=0; return}
jmpFwd = (fNew > tmLn.curFrame);
for (i = 0; i < tmLn.length; i++) {
sprite = (jmpFwd)? tmLn[i] : tmLn[(tmLn.length-1)-i]; //count bkwds if jumping back
if (sprite.charAt(0) == "s") {
numKeyFr = sprite.keyFrames.length;
firstKeyFr = sprite.keyFrames[0];
lastKeyFr = sprite.keyFrames[numKeyFr - 1];
if ((jmpFwd && fNew<firstKeyFr) \\ (!jmpFwd && lastKeyFr<fNew)) continue; //skip if untouchd
for (keyFrm=1; keyFrm<numKeyFr && fNew>=sprite.keyFrames[keyFrm]; keyFrm++);
for (j=0; j<sprite.values.length; j++) {
props = sprite.values[j];
if (numKeyFr == props.length) propNum = keyFrm-1 //keyframes only
else propNum = Math.min(Math.max(0,fNew-firstKeyFr),props.length-1); //or keep in legal range
if (sprite.obj != null) {
if (props.prop2 == null) sprite.obj[props.prop] = props[propNum];
else sprite.obj[props.prop2][props.prop] = props[propNum];
} }
} else if (sprite.charAt(0)=='b' && fNew == sprite.frame) eval(sprite.value);
}
tmLn.curFrame = fNew;
if (tmLn.ID == 0) eval('MM_timelinePlay(tmLnName)');
}

function MM_initTimelines() { //v4.0
//MM_initTimelines() Copyright 1997 Macromedia, Inc. All rights reserved.
var ns = navigator.appName == "Netscape";
var ns4 = (ns && parseInt(navigator.appVersion) == 4);
var ns5 = (ns && parseInt(navigator.appVersion) > 4);
document.MM_Time = new Array(1);
document.MM_Time[0] = new Array(1);
document.MM_Time["Timeline1"] = document.MM_Time[0];
document.MM_Time[0].MM_Name = "Timeline1";
document.MM_Time[0].fps = 15;
document.MM_Time[0][0] = new String("behavior");
document.MM_Time[0][0].frame = 16;
document.MM_Time[0][0].value = "MM_timelineGoto('Timeline1','1')";
document.MM_Time[0].lastFrame = 16;
for (i=0; i<document.MM_Time.length; i++) {
document.MM_Time[i].ID = null;
document.MM_Time[i].curFrame = 0;
document.MM_Time[i].delay = 1000/document.MM_Time[i].fps;
}
}
//-->
</script>
</head>

<BODY background="back4.jpg" onLoad="StartHeadliner()">
<p>
<center>
<font face="arial, helvetica" size="-2"><br><HEAD>
<SCRIPT LANGUAGE="JavaScript">

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
function writeMarquee() {
document.write("<marquee scrolldelay='130' scrollamount='20'><bold><em>IT HELPDESK...IT HELPDESK...IT HELPDESK...IT HELPDESK...IT HELPDESK...</bold></em></a><a href=mailto:snapem@uk.ibm.com><H7><small>Click here to email author</a></H7></small></a> </marquee>");
}
// End -->
</script>
</HEAD>
<div align="center">
<table width="30%">
<tr>
<td> <SCRIPT LANGUAGE="JavaScript">
<!-- Begin
writeMarquee()
// End -->
 
     
   
Gender PostTime:12/16/2008 8:18:15 PM Point:0 | Floor# 2
Lv is 1
portrait
Level:
1
Professional point:
58
Experience:
4
Thread:
255
Post:
956
Total online time:
4M
Joined date:
4/28/2007 11:29:00 PM
Last Visit:
12/16/2008 11:28:56 PM
Status:
Offline
Ok, I tried a few of the flash buttons and they all work fine. I can't see your source code for some reason so I will have to guess that the button code is conflicting with something else on your page. Is the top scrolling text javascript? This might be causing the problem. Why don't you try removing it temporarily just to see if it is the cause. If you want to send your source code for that page I will take a better look.
 
     
   
Gender PostTime:12/16/2008 9:13:03 PM Point:0 | Floor# 3
Lv is 1
portrait
Level:
1
Professional point:
8
Experience:
13
Thread:
275
Post:
917
Total online time:
13M
Joined date:
4/28/2007 11:37:00 PM
Last Visit:
12/16/2008 11:49:17 PM
Status:
Offline
I'm not sure why it's doing that but you could try replacing the code with different javascript code. Try one of these:

http://stud4.tuwien.ac.at/~e9125168/javas/jticker.html

http://www.scriptsearch.com/details/3877.html
 
     
   
Gender PostTime:12/16/2008 9:26:04 PM Point:0 | Floor# 4
Lv is 1
portrait
Level:
1
Professional point:
4
Experience:
3
Thread:
263
Post:
954
Total online time:
3M
Joined date:
4/29/2007 2:46:00 AM
Last Visit:
12/16/2008 11:21:46 PM
Status:
Offline
Thanking you both..
Decided to have a plain Heading at the Top of my home page, and an email link
further down the page, all "hands" are doing what they should be!!!!
 
     
   
Gender PostTime:12/16/2008 9:50:45 PM Point:0 | Floor# 5
Lv is 1
portrait
Level:
1
Professional point:
58
Experience:
4
Thread:
255
Post:
956
Total online time:
4M
Joined date:
4/28/2007 11:29:00 PM
Last Visit:
12/16/2008 11:28:56 PM
Status:
Offline
It seems that you're making the words on the button point to the link instead of making the button graphic the link. The whole button should point to the link you want. Like the button had no words on it.
 
     
   
Gender PostTime:12/16/2008 10:21:19 PM Point:0 | Floor# 6
Lv is 1
portrait
Level:
1
Professional point:
66
Experience:
1
Thread:
278
Post:
1007
Total online time:
1M
Joined date:
4/28/2007 11:31:00 PM
Last Visit:
12/16/2008 11:35:07 PM
Status:
Online
eemmm? Well if I just use a blank button, it still changes between a hand a cursor when I hover? (as before) is there not a way to have a hand showing anywhere when over the button?? Behaviours?, although I noticed most of these are dimmed when selecting the button??
 
     
   
Gender PostTime:12/16/2008 10:23:20 PM Point:0 | Floor# 7
Lv is 1
portrait
Level:
1
Professional point:
46
Experience:
1
Thread:
287
Post:
926
Total online time:
1M
Joined date:
4/28/2007 11:03:00 PM
Last Visit:
12/17/2008 12:22:57 AM
Status:
Offline
not actually making them, just using the pre-defined ones in Dreamweaver MX and inputting my own text ( ie "Hello" on button linking to a html doc called "hello")
 
     
   
Gender PostTime:12/16/2008 10:42:15 PM Point:0 | Floor# 8
Lv is 1
portrait
Level:
1
Professional point:
2
Experience:
12
Thread:
278
Post:
932
Total online time:
12M
Joined date:
4/28/2007 11:48:00 PM
Last Visit:
12/16/2008 11:40:44 PM
Status:
Online
How are you making your button?
 
     
   
Gender PostTime:12/16/2008 10:50:06 PM Point:0 | Floor# 9
Lv is 1
portrait
Level:
1
Professional point:
78
Experience:
9
Thread:
286
Post:
947
Total online time:
9M
Joined date:
4/29/2007 12:17:00 AM
Last Visit:
12/16/2008 11:26:07 PM
Status:
Offline
It's the "Generic-Blue" ( but it's any button in Dreamweaver I use....well I have tried a few!! )

If you like, check out:
http://homepage.ntlworld.com/m.snape/IBM.htm
to see what I mean..Thanks
 
     
   
Gender PostTime:12/16/2008 11:00:53 PM Point:0 | Floor# 10
Lv is 1
portrait
Level:
1
Professional point:
96
Experience:
6
Thread:
271
Post:
1040
Total online time:
6M
Joined date:
4/28/2007 11:55:00 PM
Last Visit:
12/16/2008 11:36:22 PM
Status:
Offline
I noticed my cursor flickering while hovering over your Flash Buttons. Running on AMD 1.2 GHZ with 512MB RAM. I shouldn';t be getting a flicker.

I believe the problems you are experiencing are caused by your marquee. Remove it as lola suggests.
 
     
1 2

Sorry, you are not login, click here to login

 

About us | Advertise | Contact us | Partner | Bug Report|Suggesting box|Donation
Home | Forum | Affiliate program| Remote help | Setting | Search | Document | Help | Download|Message

 

Start new topicAdvanced search
Your location: Web designer -> Dreamweaver