PDA

View Full Version : Web Page Design


10-12-2003, 03:21 PM
Hey all, I assume at least some of you remember my Diablo 2 Collection website that died. Well i'm rebuilding it at the moment and giving it a bit of a make over. Anyway i've added custom cursors, which are working fine except for one little quirk. Just as you move the cursor over a link, where the transition between diff cursor pix is, I get the default windows cursor slipping in to haunt me. Does anybody know how to make the damn thing go away? Here's the code I used if it helps.

body {
font: 20px Avalon Quest, Exocet Light, Comic Sans Ms, Arial, Helvetica, sans-serif;
color: #FF9900;
cursor: url(stuff/diablo.cur);
}
a:hover {
text-decoration: none;
color: #ff0000;
cursor: url(stuff/diablo2.cur);
}

10-12-2003, 11:41 PM
add one in for the normal state of a im guessin

like in ya css add

a {
cursor: url(stuff/diablo2.cur);
}

that would nearly do it u'd think...

27-01-2004, 08:59 PM
Nice one dude.

I've been using tables for my page layout, but I always get this blank bit right at the top of the page. Any ideas?

28-01-2004, 12:00 AM
marginheight marginwidth and a
LEFTMARGIN="0" TOPMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0"

in body tag of document

05-02-2004, 05:05 AM
The Leftmargin and Topmargin did the trick.
Chalk another one up to the little guy.

09-02-2004, 03:36 PM
I've got a menu down the side of the site. How would I get it to follow me as I scroll down the page?

09-02-2004, 06:21 PM
either use frames so it stays there or use a little java script

10-02-2004, 12:24 AM
Frames! *wards off evil spirits*

I don't know what script to use. I'm new at this scripting thing

10-02-2004, 08:46 AM
Hey, a single frame ain't that bad, as long as you make it blend in with the rest of the site. :)

10-02-2004, 09:51 AM
if u want the menu to stick use a frame - scripts always break

frames are ideal for the purpose of a separated menu so long as u dont go nuts with em :D

10-02-2004, 11:04 AM
Thank you. :P

10-02-2004, 05:02 PM
there are alot of downfalls to using frames tho - i just think if its a choice b/n frames/script - use a frame

google for "website using frames bad example" and hit the first few pages for info on whats bad about frames

heres a good example of bad : http://stgtech.com/staff/gcallah/BadHTML/bad1.html

10-02-2004, 06:31 PM
going through those pages reminded me of another site.. http://members.fortunecity.com/cycophil/menu.html :D

11-02-2004, 07:37 AM
Gee...thanks Beefy. :P
Big meany.
I think I did pretty well considering I learnt HTML from scratch and only used Notepad to make it (shows, doesn't it). It's my pointless little corner of the Web and I'll thank you not to stare....

11-02-2004, 08:53 AM
Hehe.. sorry, I had to throw that in. Not bad for a notepad job, but if you look through sks's link, you'll see what I was talking about..

11-02-2004, 11:58 AM
Mine was also done in notepad, hooray for notepad!!!!

12-02-2004, 06:39 PM
pfft sif notepad hand code using a macro'd editor makes more sense than any, homesite am winnar! but i use phpedit now coz it pwns for both html and php editing..

dreamweaver for layout/design idea testing, then to phpedit for further code cleaning/tweaking. dont see the point in "re-inventing the wheel" with doing everything in notepad

12-02-2004, 07:53 PM
I wanted to learn html, and coding it by hand seemed a good way to do it. Dreamweaver is fine if you like spending 50% of your time undoing all the stuff it "helpfully" does for you.

12-02-2004, 09:56 PM
Dreamweaver is great. I can't say I undo anything I didn't mean to happen...

13-02-2004, 12:50 AM
like anything a powerful tool is only as good as the person using it :D take flash for example

dreamweaver compared to ms frontpage... well theres no competition there... but if dw did do somethin in the code it shouldnt have - atleast u can find it, unlike frontpage and other crap editors, it has neat code layout with proper nesting/tabbing!

14-02-2004, 04:33 PM
Remember that cursor you gave me code for? Worked like a charm, until I uploaded it. Everytime you hover on links it seems to actually pause and download the damn cursor. Anyway I can get it to preload or cache it?

14-02-2004, 04:45 PM
yes, you can.

14-02-2004, 05:48 PM
Marvelous! And how would I go about doing that then?

17-02-2004, 10:43 PM
PHPedit is teh rorxiest prog evar!

18-02-2004, 08:54 AM
Marvelous! And how would I go about doing that then?
Well, a simple google for 'preload images script' got me this: http://javascriptkit.com/script/script2/preloadimage.shtml

18-02-2004, 07:25 PM
That doesn't appear to have made any difference. Could that be because the code is designed for images?

19-02-2004, 02:54 PM
isn't the cursor an image?

19-02-2004, 03:57 PM
it's an animated cursor, so it's either a .ani or .cur file. We had a chat about it last night. Doesn't seem like there's anyway to actually preload it. :(

19-02-2004, 04:35 PM
I never said it was an animated cursor. I said it had the extension .cur which means it can't be animated, they end in .ani

19-02-2004, 05:07 PM
my bad

20-02-2004, 10:57 PM
...yes...

just don't use a custom cursor would be the easiest solution.. no lag then :D

23-02-2004, 02:38 AM
I think Rimmer from Red Dwarf said it best:
"I think we all have something to bring to this discussion, and I think the thing you should bring is silence"

12-03-2004, 07:26 PM
you underestimate the power of notepad.... as long as you have a couple of graphical programs to back it up... it should be all good

21-03-2004, 05:40 PM
Instead of your custom cursor you could have something like this in a CSS file.

a {
color : #eeb341;
background-color: inherit;
text-decoration : none;
cursor : pointer;
}

Im not sure if you can add your own in there but something to follow up on.

22-03-2004, 10:26 AM
I have used the a tag in my CSS to change the cursor already