Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 07-07-2006, 10:29 PM   #1 (permalink)
mira_lin
Registered User
 
Join Date: Jul 2006
Posts: 2
mira_lin is on a distinguished road
Unhappy coding problem to making hover buttons function

i have a problem to make a hover buttons function..

here is my coding:

<applet code="fphover.class" codebase="./" width="120" height="24">
<param name="color" value="#000080">
<param name="hovercolor" value="#0000FF">
<param name="textcolor" value="#FFFFFF">
<param name="text" value="C Programming">
<param name="effect" value="glow">
<param name="url" valuetype="ref" value="http://metalab.uniten.edu.my/~azhana/indexCProg.html">
</applet>

can you find what my mistake, and do a correction on it?
mira_lin is offline   Reply With Quote
Old 07-07-2006, 11:51 PM   #2 (permalink)
teknomage1
Jack of all trades
 
teknomage1's Avatar
 
Join Date: Feb 2005
Location: Los Angeles
Posts: 598
teknomage1 is on a distinguished road
Send a message via AIM to teknomage1
What language is this?
__________________
Stop intellectual property from infringing on me
teknomage1 is offline   Reply With Quote
Old 07-09-2006, 08:40 AM   #3 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,726
redhead is on a distinguished road
I'm guessing it's some embedded Java applet in the webpage...
Since I know nothing on the fphover.class object, an know nothing of which arguments it can handle, I'm not to much help here..
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote
Old 07-09-2006, 09:34 AM   #4 (permalink)
DJMaze
Senior Contributor
 
DJMaze's Avatar
 
Join Date: Mar 2005
Posts: 732
DJMaze is on a distinguished road
sounds like a M$ FrontPage extension.

frontpagehover

A shame people still use that software to write HTML 3.0 websites. There are way better methods these days like Whatever:hover HTC.
http://www.xs4all.nl/~peterned/
DJMaze is offline   Reply With Quote
Old 07-09-2006, 10:17 PM   #5 (permalink)
mira_lin
Registered User
 
Join Date: Jul 2006
Posts: 2
mira_lin is on a distinguished road
thanks DJMaze...
i think,i must used html to get the correct coding right?
my mistake is i'm used microsoft front page..
other opinion about my coding?
i need some help to do the correction about my coding..
mira_lin is offline   Reply With Quote
Old 07-10-2006, 03:04 PM   #6 (permalink)
DJMaze
Senior Contributor
 
DJMaze's Avatar
 
Join Date: Mar 2005
Posts: 732
DJMaze is on a distinguished road
nothing wrong with you using FP. It was just an opinion of mine to let you know that there are better ways these days.
However, to understand whatever:hover you must understand html and css. FP just makes you forget about that since it does the work for you for Internet Explorer.

Now there's more on this world other then IE, like: firefox, opera, safari, konqueror, dillo, etc.

To my knowledge it seems you want buttons and when you hover your mouse over them they must look different.
CSS allows 'hover' these days so there's realy no need to use java to get a hover.

Code:
body
{
	behavior:url(inc/htc/csshover.htc);
}

input[type="reset"], input[type="submit"], button, .button
{
	background: transparent url(../images/button.gif) no-repeat;
	border-width: 0;
	height: 20px;
	width: 80px;
	padding: 0 2px 2px 2px;
	font: 1.1em Verdana, Arial, Helvetica, sans-serif;
	cursor: pointer;
}

input[type="reset"]:hover, input[type="submit"]:hover, button:hover, .button:hover
{
	background-image: url(../images/button_hover.gif);
	color: #009;
}
Old browsers like IE which only support webstandards of BEFORE 1999 don't understand :hover and therefore FP has the fphover.class.
whatever:hover just makes IE browser do the same as any other browser supports these days, so there's no need anymore to use java.

I hope you now understand a bit about webstandards and the old age of IE and Frontpage.
DJMaze is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
change the empty function from the old format to the new format powah All Other Coding Languages 1 07-10-2005 02:23 PM


All times are GMT -8. The time now is 03:07 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting