Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

Rollover Question


25 replies to this topic

#1 icemarle

    The Bogey Princess

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 638 posts
  • Gender:Female

Posted 26 April 2005 - 12:34 AM

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.

#2 whyme

    Privileged Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 661 posts
  • Gender:Male

Posted 26 April 2005 - 12:57 AM

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:

</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:

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

to just:

animate.js


If you need anymore help, just give me a PM. :lol:

-whyme

#3 snlildude87

    Moderator

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 2,325 posts
  • Location:Mawson, Antarctica

Posted 26 April 2005 - 12:57 AM

Got it. :lol:

<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:
<script language="JavaScript1.2" fptype="dynamicanimation" src="animate.js">

:)

#4 icemarle

    The Bogey Princess

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 638 posts
  • Gender:Female

Posted 26 April 2005 - 01:03 AM

Ohh! Sorry about that! Thanks you two! I'm just a rollover newbie. Sorry for the trouble! I'll fix it right away!

#5 moonwitch

    - The Enforcer -

  • Kontributors
  • PipPipPipPipPipPipPip
  • 108 posts
  • Location:In your nightmares

Posted 26 April 2005 - 01:05 AM

Well, I see two folks beat me to it :)

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 :lol:

Frontpage also creates sluggish pages because of a bad coding style.

#6 snlildude87

    Moderator

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 2,325 posts
  • Location:Mawson, Antarctica

Posted 26 April 2005 - 01:08 AM

icemarle, remember to post back your results, and let us see if you fixed the problem or not. :lol:

#7 icemarle

    The Bogey Princess

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 638 posts
  • Gender:Female

Posted 26 April 2005 - 01:09 AM

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...

#8 snlildude87

    Moderator

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 2,325 posts
  • Location:Mawson, Antarctica

Posted 26 April 2005 - 01:33 AM

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

Hmm, where exactly did you place animate.js? In the same folder as i2sl4.html?

#9 icemarle

    The Bogey Princess

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 638 posts
  • Gender:Female

Posted 26 April 2005 - 01:40 AM

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.

#10 snlildude87

    Moderator

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 2,325 posts
  • Location:Mawson, Antarctica

Posted 26 April 2005 - 01:52 AM

Hmm, I'm looking at your rollover code, and it's definately harder than it's meant to be. I'll tell you what, give me the URLs of the images (before mouse over and on mouse over), and I'll write the code for you to make it work. :lol:

About the report thing, yes, reporting your own post is 10 times better than double posting. We encourage members to do so because it uses less sql space.




Reply to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users