Welcome Guest ( Log In | Register)



3 Pages V   1 2 3 >  
Reply to this topicStart new topic
> Rollover Question
icemarle
post Apr 26 2005, 12:34 AM
Post #1


The Bogey Princess
*********

Group: Members
Posts: 639
Joined: 25-April 05
Member No.: 6,138



Ir's about Frontpage's DHTML Effects thing. You can make rollovers using that, right? Anyway, when I tested the rolloves offline, It worked! But when I uploaded it, it won't work. Is there something I did wrong? What should I do? I'm new at creating rollovers.
In fact, this is my first time.

Rollover Page
Please see what's wrong. It's suppose have a stroke effect on the text in the picture.
Go to the top of the page
 
+Quote Post
whyme
post Apr 26 2005, 12:57 AM
Post #2


Privileged Member
*********

Group: Members
Posts: 661
Joined: 10-January 05
Member No.: 3,189



When you generate DHTML rollovers in frontpage, Frontpage should prompt you to save a seperate javascript file when you exit the program.

I took a look at your page coding and saw this:

CODE

</script>
<script language="JavaScript1.2" fptype="dynamicanimation" src="file:///C:/Program%20Files/Microsoft%20Office/Office10/fpclass/animate.js">
</script>


right now, your javscript file is sitting in your hardrive, so your website's DHTML doesn't work. this means that you need to upload your animate.js to the same directory of your i2sl4.html, and also, change the coding:

CODE

file:///C:/Program%20Files/Microsoft%20Office/Office10/fpclass/animate.js


to just:

CODE
animate.js



If you need anymore help, just give me a PM. smile.gif

-whyme
Go to the top of the page
 
+Quote Post
snlildude87
post Apr 26 2005, 12:57 AM
Post #3


Moderator
***************

Group: Members
Posts: 2,325
Joined: 8-March 05
From: Mawson, Antarctica
Member No.: 4,254



Got it. smile.gif

CODE
<script language="JavaScript1.2" fptype="dynamicanimation" src="file:///C:/Program%20Files/Microsoft%20Office/Office10/fpclass/animate.js">


You are loading the file animate.js from your home computer, which is very illegal because people cannot access your files, so you have to upload animate.js and call it something like this:
CODE
<script language="JavaScript1.2" fptype="dynamicanimation" src="animate.js">


smile.gif
Go to the top of the page
 
+Quote Post
icemarle
post Apr 26 2005, 01:03 AM
Post #4


The Bogey Princess
*********

Group: Members
Posts: 639
Joined: 25-April 05
Member No.: 6,138



Ohh! Sorry about that! Thanks you two! I'm just a rollover newbie. Sorry for the trouble! I'll fix it right away!
Go to the top of the page
 
+Quote Post
moonwitch
post Apr 26 2005, 01:05 AM
Post #5


- The Enforcer -
*******

Group: Members
Posts: 108
Joined: 6-March 05
From: In your nightmares
Member No.: 4,198



Well, I see two folks beat me to it tongue.gif

Anyhow, to prevent things like this in the future, make sure you select RELATIVE links and not ABSOLUTE... OR do the coding in a different WYSIWYG editor. (WYSIWYG = What You See Is What You Get). My suggestion for this is a freebie called 1rst Page 2000. You can download it here. It will generate better pages, as Frontpage tends to mess up most pages. Believe me, you're better off looking at other editors. When you think you're ready for the leap into code, notepad is your friend smile.gif

Frontpage also creates sluggish pages because of a bad coding style.
Go to the top of the page
 
+Quote Post
snlildude87
post Apr 26 2005, 01:08 AM
Post #6


Moderator
***************

Group: Members
Posts: 2,325
Joined: 8-March 05
From: Mawson, Antarctica
Member No.: 4,254



icemarle, remember to post back your results, and let us see if you fixed the problem or not. smile.gif
Go to the top of the page
 
+Quote Post
icemarle
post Apr 26 2005, 01:09 AM
Post #7


The Bogey Princess
*********

Group: Members
Posts: 639
Joined: 25-April 05
Member No.: 6,138



Where can I find the edit button? Anyway, I did it, it still didn't work... I uploaded the js, and edited the code. Still nothing...
Go to the top of the page
 
+Quote Post
snlildude87
post Apr 26 2005, 01:33 AM
Post #8


Moderator
***************

Group: Members
Posts: 2,325
Joined: 8-March 05
From: Mawson, Antarctica
Member No.: 4,254



Edit button's gone because users were abusing the hosting credit system with it. If you want to edit, report (user posted image)your own post, and the moderators or admins will take care of it. smile.gif

Hmm, where exactly did you place animate.js? In the same folder as i2sl4.html?
Go to the top of the page
 
+Quote Post
icemarle
post Apr 26 2005, 01:40 AM
Post #9


The Bogey Princess
*********

Group: Members
Posts: 639
Joined: 25-April 05
Member No.: 6,138



Yes. I placed it in the same folder. Maybe it's something written in the animate.js? I don't know JavaScript. In fact, I'm scared of learning Javascript. I was too attched to HTML, so I dont know what to do with it.

Animate.js

Too bad about the edit button. But when I seriously need to edit something I have to report it? Well, at least now I know. It'll save me from double-posting.