It is currently Wed Sep 08, 2010 2:28 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: need some minor html/css help
PostPosted: Mon Mar 01, 2010 11:44 pm 
Offline
User avatar
.: Level IV :.

Joined: Wed Dec 23, 2009 12:29 am
Posts: 934
iTrader:
Gender: Male
Cash:1089
Reputation point: 180
Rise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud of


Giveaway Donor Award Trader Winner Award

i have an image that is a link

i want it to change to a different picture when i mouse over

is there an easy way to do this?

_________________
Image
Looking for Graphics? Request it here.

I'm selling lots of things! check them out here.

My Guides:

My Goals:
Spoiler: show
Expert Trader Award - 12/10
Level 4 - 750/750
100 Rep - 100/100
200 Rep - 175/200
Giveaway Winner Award - June 24th & June 29th, 2010/Junior
Content Contributor Award
Graphic Artist Award


Top
 Profile  
 
 Post subject: Re: need some minor html/css help
PostPosted: Mon Mar 01, 2010 11:56 pm 
Offline
User avatar
.: Admin :.

Joined: Sun Mar 02, 2008 5:00 am
Posts: 2952
Location: Home sweet home
iTrader:
Highscores: 1
Gender: Male
Cash:3379
Reputation point: 488
Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!


Content Giveaway Donor Award Trader Winner Award

Yup, some simple javascript should do the trick:
Code:
<a href="url here" onmouseover="document.rollover.src='new_img_url'" onmouseout="document.rollover.src='old_img_url'"><img src="old_img_url" name="rollover"></a>

Replace "old_img_url" and "new_img_url" with your images. :)

_________________
Programs
AB List Creator ~ Account Generator

Guides
Employment Agency ~ NeoAcademy HowTo ~ List of Guides ~ Game Score Review List ~ Starting up (again) After Getting Iced ~ Packrat Avatar List ~ Top Gamer Avatar Game List ~ Avatar Game List ~ Roodoku Guide ~ Altador Cup Player Avatar ~ GM Scripts ~ Autobuying Shop Guide ~ Ways of Making NP ~ Neoquest 3D ~ IP Addresses

Helpful Threads
Taking AB List Requests ~ AB Lists ~ Updated Igloo AB List

Code Snippets
[Java] HTTP Wrapper ~ [Java] Neopets Wrapper ~ [Java] Proxy Support ~ [Java] Smart Haggle


Top
 Profile  
 
 Post subject: Re: need some minor html/css help
PostPosted: Mon Mar 01, 2010 11:58 pm 
Offline
User avatar
.: Level IV :.

Joined: Wed Dec 23, 2009 12:29 am
Posts: 934
iTrader:
Gender: Male
Cash:1089
Reputation point: 180
Rise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud of


Giveaway Donor Award Trader Winner Award

Zer0 wrote:
Yup, some simple javascript should do the trick:
Code:
<a href="url here" onmouseover="document.rollover.src='new_img_url'" onmouseout="document.rollover.src='old_img_url'"><img src="old_img_url" name="rollover"></a>

Replace "old_img_url" and "new_img_url" with your images. :)


ya i saw that
im not sure if im allowed to use js in my assignment, is there any other way to do it?

_________________
Image
Looking for Graphics? Request it here.

I'm selling lots of things! check them out here.

My Guides:

My Goals:
Spoiler: show
Expert Trader Award - 12/10
Level 4 - 750/750
100 Rep - 100/100
200 Rep - 175/200
Giveaway Winner Award - June 24th & June 29th, 2010/Junior
Content Contributor Award
Graphic Artist Award


Top
 Profile  
 
 Post subject: Re: need some minor html/css help
PostPosted: Tue Mar 02, 2010 12:04 am 
Offline
User avatar
.: Admin :.

Joined: Sun Mar 02, 2008 5:00 am
Posts: 2952
Location: Home sweet home
iTrader:
Highscores: 1
Gender: Male
Cash:3379
Reputation point: 488
Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!


Content Giveaway Donor Award Trader Winner Award

Oh, well I suppose this could be accomplished using just CSS. Its a longer solution though.
Consult http://www.edginet.org/techie/website/cssimg.html for the code.

_________________
Programs
AB List Creator ~ Account Generator

Guides
Employment Agency ~ NeoAcademy HowTo ~ List of Guides ~ Game Score Review List ~ Starting up (again) After Getting Iced ~ Packrat Avatar List ~ Top Gamer Avatar Game List ~ Avatar Game List ~ Roodoku Guide ~ Altador Cup Player Avatar ~ GM Scripts ~ Autobuying Shop Guide ~ Ways of Making NP ~ Neoquest 3D ~ IP Addresses

Helpful Threads
Taking AB List Requests ~ AB Lists ~ Updated Igloo AB List

Code Snippets
[Java] HTTP Wrapper ~ [Java] Neopets Wrapper ~ [Java] Proxy Support ~ [Java] Smart Haggle


Top
 Profile  
 
 Post subject: Re: need some minor html/css help
PostPosted: Tue Mar 02, 2010 12:10 am 
Offline
User avatar
.: Level V :.

Joined: Sun Nov 08, 2009 8:30 am
Posts: 1575
Location: I come from a land down under! (Maaaate!)
iTrader:
Gender: Male
Cash:1596
Reputation point: 363
Junior has a reputation beyond repute!Junior has a reputation beyond repute!Junior has a reputation beyond repute!Junior has a reputation beyond repute!Junior has a reputation beyond repute!Junior has a reputation beyond repute!Junior has a reputation beyond repute!Junior has a reputation beyond repute!Junior has a reputation beyond repute!Junior has a reputation beyond repute!Junior has a reputation beyond repute!Junior has a reputation beyond repute!Junior has a reputation beyond repute!Junior has a reputation beyond repute!Junior has a reputation beyond repute!


Content Giveaway Donor Award Trader

Here's a solution: (Note: Not my work)

I've used it before...

http://dawnerd.com/9/articles/css/rollo ... avascript/

CSS FTW :P

EDIT: Sad but was post ninja'd!! by a few minutes. My bad.

_________________
Image
Image
My Guides: | How to make a safe SS list | Setting Up Blaze MSABer v1.0 | Mynci Beach Volleyball | NF Blackmarket Trades Guide |
My advice/helpful posts: | Daily Dare 2010 Daily Game Advice| My Daily Dare 2010 SS List | Festival Of Neggs Guide | Neopet Transfers Per Month |
My Blackmarket Threads: | None Officially - Always selling Illegit NP's though. PM me for info. |


Last edited by Junior on Tue Mar 02, 2010 12:11 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: need some minor html/css help
PostPosted: Tue Mar 02, 2010 12:10 am 
Offline
User avatar
.: Level IV :.

Joined: Wed Dec 23, 2009 12:29 am
Posts: 934
iTrader:
Gender: Male
Cash:1089
Reputation point: 180
Rise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud of


Giveaway Donor Award Trader Winner Award

ill check that out

thanks

_________________
Image
Looking for Graphics? Request it here.

I'm selling lots of things! check them out here.

My Guides:

My Goals:
Spoiler: show
Expert Trader Award - 12/10
Level 4 - 750/750
100 Rep - 100/100
200 Rep - 175/200
Giveaway Winner Award - June 24th & June 29th, 2010/Junior
Content Contributor Award
Graphic Artist Award


Top
 Profile  
 
 Post subject: Re: need some minor html/css help
PostPosted: Tue Mar 02, 2010 12:21 am 
Offline
User avatar
.: Level IV :.

Joined: Wed Jul 15, 2009 6:31 pm
Posts: 1449
iTrader:
Gender: Male
Cash:473
Reputation point: 119
Shawn is a name known to allShawn is a name known to allShawn is a name known to allShawn is a name known to allShawn is a name known to all


Giveaway Donor Award Trader Winner Award

Yess CSS rollovers involved putting the two pictures on top of each other,
with display: block;
and then when hover, the position changes, many tutorials on google

_________________
Shawn's Avatar Lending Thread
Battledome Help Chat

View my Guides


Image
Spoiler: show
The First-Ever Race to Neopian Riches NP-making Competition 2nd Runner Up


Top
 Profile  
 
 Post subject: Re: need some minor html/css help
PostPosted: Wed Mar 03, 2010 9:30 am 
Offline
User avatar
.: Level IV :.

Joined: Wed Dec 23, 2009 12:29 am
Posts: 934
iTrader:
Gender: Male
Cash:1089
Reputation point: 180
Rise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud of


Giveaway Donor Award Trader Winner Award

ok so apparently im not allowed to use any css or java...now i have to essentially rewrite my whole page...and im lost

when he says to use "inline styles", what does that mean?

_________________
Image
Looking for Graphics? Request it here.

I'm selling lots of things! check them out here.

My Guides:

My Goals:
Spoiler: show
Expert Trader Award - 12/10
Level 4 - 750/750
100 Rep - 100/100
200 Rep - 175/200
Giveaway Winner Award - June 24th & June 29th, 2010/Junior
Content Contributor Award
Graphic Artist Award


Top
 Profile  
 
 Post subject: Re: need some minor html/css help
PostPosted: Wed Mar 03, 2010 10:25 am 
Offline
User avatar
.: Level IV :.

Joined: Wed Jul 15, 2009 6:31 pm
Posts: 1449
iTrader:
Gender: Male
Cash:473
Reputation point: 119
Shawn is a name known to allShawn is a name known to allShawn is a name known to allShawn is a name known to allShawn is a name known to all


Giveaway Donor Award Trader Winner Award

inline styles IS css. Shoot your teacher.
EDIT: After thinking about it, don't shoot your teacher. I might get into trouble for spurring you on. :lol:

_________________
Shawn's Avatar Lending Thread
Battledome Help Chat

View my Guides


Image
Spoiler: show
The First-Ever Race to Neopian Riches NP-making Competition 2nd Runner Up


Top
 Profile  
 
 Post subject: Re: need some minor html/css help
PostPosted: Wed Mar 03, 2010 7:42 pm 
Offline
User avatar
.: Level IV :.

Joined: Wed Dec 23, 2009 12:29 am
Posts: 934
iTrader:
Gender: Male
Cash:1089
Reputation point: 180
Rise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud of


Giveaway Donor Award Trader Winner Award

Shawn wrote:
inline styles IS css. Shoot your teacher.
EDIT: After thinking about it, don't shoot your teacher. I might get into trouble for spurring you on. :lol:


sorry its done...the police are coming after shawn from neofriends.net

id run and hide if i were you

so my code looks somewhat like this

<style type=text/css>

body {
font: 9px verdana;
color: #ffffff;
}

and then theres other things in here, like dimensions for one of my div layers, link colors, and other poo poo...

</style>

this is all just inline styles?
does type=text/css need to be there?

_________________
Image
Looking for Graphics? Request it here.

I'm selling lots of things! check them out here.

My Guides:

My Goals:
Spoiler: show
Expert Trader Award - 12/10
Level 4 - 750/750
100 Rep - 100/100
200 Rep - 175/200
Giveaway Winner Award - June 24th & June 29th, 2010/Junior
Content Contributor Award
Graphic Artist Award


Top
 Profile  
 
 Post subject: Re: need some minor html/css help
PostPosted: Wed Mar 03, 2010 9:59 pm 
Offline
User avatar
.: Admin :.

Joined: Sun Mar 02, 2008 5:00 am
Posts: 2952
Location: Home sweet home
iTrader:
Highscores: 1
Gender: Male
Cash:3379
Reputation point: 488
Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!


Content Giveaway Donor Award Trader Winner Award

Yeah, inline styles are still CSS... >_>

If you are using "<style>" tags, then its not inline. Inline means that the style is done inside the element that's being styled. So like:
Code:
<img src="asdf" style="[styling goes here]">

_________________
Programs
AB List Creator ~ Account Generator

Guides
Employment Agency ~ NeoAcademy HowTo ~ List of Guides ~ Game Score Review List ~ Starting up (again) After Getting Iced ~ Packrat Avatar List ~ Top Gamer Avatar Game List ~ Avatar Game List ~ Roodoku Guide ~ Altador Cup Player Avatar ~ GM Scripts ~ Autobuying Shop Guide ~ Ways of Making NP ~ Neoquest 3D ~ IP Addresses

Helpful Threads
Taking AB List Requests ~ AB Lists ~ Updated Igloo AB List

Code Snippets
[Java] HTTP Wrapper ~ [Java] Neopets Wrapper ~ [Java] Proxy Support ~ [Java] Smart Haggle


Top
 Profile  
 
 Post subject: Re: need some minor html/css help
PostPosted: Thu Mar 04, 2010 1:23 am 
Offline
User avatar
.: Level IV :.

Joined: Wed Dec 23, 2009 12:29 am
Posts: 934
iTrader:
Gender: Male
Cash:1089
Reputation point: 180
Rise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud of


Giveaway Donor Award Trader Winner Award

Zer0 wrote:
Yeah, inline styles are still CSS... >_>

If you are using "<style>" tags, then its not inline. Inline means that the style is done inside the element that's being styled. So like:
Code:
<img src="asdf" style="[styling goes here]">


ok so this is what im supposed to do?

Code:
<div id="Layer1" style="position:absolute; OVERFLOW: auto; WIDTH: 403px; HEIGHT: 305px; z-index:1; left: 250px; top: 400px;">

_________________
Image
Looking for Graphics? Request it here.

I'm selling lots of things! check them out here.

My Guides:

My Goals:
Spoiler: show
Expert Trader Award - 12/10
Level 4 - 750/750
100 Rep - 100/100
200 Rep - 175/200
Giveaway Winner Award - June 24th & June 29th, 2010/Junior
Content Contributor Award
Graphic Artist Award


Top
 Profile  
 
 Post subject: Re: need some minor html/css help
PostPosted: Thu Mar 04, 2010 2:31 am 
Offline
User avatar
.: Admin :.

Joined: Sun Mar 02, 2008 5:00 am
Posts: 2952
Location: Home sweet home
iTrader:
Highscores: 1
Gender: Male
Cash:3379
Reputation point: 488
Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!Zer0 has a reputation beyond repute!


Content Giveaway Donor Award Trader Winner Award

Rise and Fall wrote:
ok so this is what im supposed to do?

Code:
<div id="Layer1" style="position:absolute; OVERFLOW: auto; WIDTH: 403px; HEIGHT: 305px; z-index:1; left: 250px; top: 400px;">

Well that's the idea. I can't tell you if the styling is correct though :P

_________________
Programs
AB List Creator ~ Account Generator

Guides
Employment Agency ~ NeoAcademy HowTo ~ List of Guides ~ Game Score Review List ~ Starting up (again) After Getting Iced ~ Packrat Avatar List ~ Top Gamer Avatar Game List ~ Avatar Game List ~ Roodoku Guide ~ Altador Cup Player Avatar ~ GM Scripts ~ Autobuying Shop Guide ~ Ways of Making NP ~ Neoquest 3D ~ IP Addresses

Helpful Threads
Taking AB List Requests ~ AB Lists ~ Updated Igloo AB List

Code Snippets
[Java] HTTP Wrapper ~ [Java] Neopets Wrapper ~ [Java] Proxy Support ~ [Java] Smart Haggle


Top
 Profile  
 
 Post subject: Re: need some minor html/css help
PostPosted: Thu Mar 04, 2010 2:57 am 
Offline
User avatar
.: Level IV :.

Joined: Wed Dec 23, 2009 12:29 am
Posts: 934
iTrader:
Gender: Male
Cash:1089
Reputation point: 180
Rise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud of


Giveaway Donor Award Trader Winner Award

Zer0 wrote:
Rise and Fall wrote:
ok so this is what im supposed to do?

Code:
<div id="Layer1" style="position:absolute; OVERFLOW: auto; WIDTH: 403px; HEIGHT: 305px; z-index:1; left: 250px; top: 400px;">

Well that's the idea. I can't tell you if the styling is correct though :P


ya thats just from an old piece of code, i used to do everything like that...but i found the other way much easier and well organized

_________________
Image
Looking for Graphics? Request it here.

I'm selling lots of things! check them out here.

My Guides:

My Goals:
Spoiler: show
Expert Trader Award - 12/10
Level 4 - 750/750
100 Rep - 100/100
200 Rep - 175/200
Giveaway Winner Award - June 24th & June 29th, 2010/Junior
Content Contributor Award
Graphic Artist Award


Top
 Profile  
 
 Post subject: Re: need some minor html/css help
PostPosted: Thu Mar 04, 2010 8:58 pm 
Offline
User avatar
.: Level IV :.

Joined: Wed Dec 23, 2009 12:29 am
Posts: 934
iTrader:
Gender: Male
Cash:1089
Reputation point: 180
Rise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud ofRise and Fall has much to be proud of


Giveaway Donor Award Trader Winner Award

Code:
<style>

a:link {
font: 12px verdana; color: #000000; text-decoration: none; }
a:visited {
font: 12px verdana; color: #000000; text-decoration: none; }
a:active {
font: 12px verdana; color: #000000; text-decoration: none; }
a:hover {
font: 12px verdana; color: #000000; text-decoration: none; }
</style>


i wanna convert that into inline styles

how would i do that?

oops i didnt realize i had the last post...can a mod please merge the 2 posts?

_________________
Image
Looking for Graphics? Request it here.

I'm selling lots of things! check them out here.

My Guides:

My Goals:
Spoiler: show
Expert Trader Award - 12/10
Level 4 - 750/750
100 Rep - 100/100
200 Rep - 175/200
Giveaway Winner Award - June 24th & June 29th, 2010/Junior
Content Contributor Award
Graphic Artist Award


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


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 post attachments in this forum

Search for:
Jump to:  
* FAQ

Powered by phpBB © 2000-2008 phpBB Group
NEOPETS, characters, logos, names and all related indicia are trademarks of Neopets, Inc., © 1999-2008. © denotes Reg. US Pat. & TM Office. All rights reserved.
Website © 2008 neofriends.net - this site is in no way affiliated with Neopets, Inc or Viacom International, Inc.

phpBB SEO