HTML - Argh! I Need Cursor Help Please!!!
*Disclaimer! I hope this makes sense to somebody!
I'm self-taught in HTML so my scripts dont always work properly. In fact, I dont even know if my scripts are in the right order most of the time (for example what goes before and after HEAD/BODY, etc tags). To make things more complicated, theyre part JAVA part HTML and part CSS (is this normal?), but most of the time I can get them to work. Anyhoo, back to the question: Im having a particular problem making an animated cursor that I downloaded to work on my webpage. I downloaded it to my computer- saved it as "tp.ani" and then uploaded it to my directory, so Im assuming theres a problem with my coding somewhere? Could somebody please tell me what I'm doing wrong, I've tried everything! *Before I paste my script below- my main page is broken down into 3 frames... that means that for each frame (since each is a different page) I have to put the cursor script on every individual page correct? Instead of just on the page with the frameset script? Script for top frame: HTML Code: <HTML> <HEAD> <TITLE> MOSHER SERVICES LLC </TITLE> <Script language='Javascript'> <!-- function change(obj,nid) { obj.id=nid; } --> </Script> <Style type='text/css'> <!-- body{cursor:url('tp.ani');} #normBtn{ background-color:#DCDCDC; color:#000000; font-family: occidental; font-size: 13pt; border-style: solid; border-bottom-color: #333333; border-right-color: #555555; border-left-color: #A9A9A9; border-top-color: #F5F5F5 } #btnFocus{ background img src: "water003.jpg"; color:#000000; font-family: occidental; font-size: 13pt; font-weight: bold; border-style: solid; border-bottom-color: #25587E; border-right-color: #4863A0; border-left-color: #87CEFA; border-top-color: #FFFFFF; cursor:hand; } --> </Style> <BODY> <body background="waterswirllong.jpg"> <br> <br> <br> <br><table border="0" width="450" align="center"> <TR><COLGROUP ALIGN="center" span="3"><td><FORM METHOD="link" ACTION="residential.html" TARGET="C"> <input type='submit' value='Residential' TITLE="Click here for a full list of the Residential services we provide" onMouseOver='change(this,"btnFocus")' onMouseOut='change(this,"normBtn")' id='normBtn'/> </FORM></TD> <TD><FORM METHOD="link" ACTION="commercial.html" TITLE="Click here for a full list of the Commercial services we provide" TARGET="C"> <input type='submit' value='Commercial' onMouseOver='change(this,"btnFocus")' onMouseOut='change(this,"normBtn")' id='normBtn'/> </FORM></TD> <TD><FORM METHOD="link" ACTION="excavation.html" TITLE="Click here for the Excavation services we provide"TARGET="C"> <input type='submit' value='Excavation' onMouseOver='change(this,"btnFocus")' onMouseOut='change(this,"normBtn")' id='normBtn'/> </FORM></TD> </TR> </TABLE> </BODY> </HTML> If you'd rather view the source from the actual site it's: www.mosherservices.com/main.html. I hope my question made sense to someone! Please feel free to tell me if I'm doing anything else wrong either. Thanks everyone , 'WebNovice' Kim Similar TutorialsSo I have this site... rigggght HERE, and I'm trying to figure out how to change the footer on the wordpress theme. It's hashed or encrypted or something so I was wondering if anyone knew anything about it. Thanks please code this to fix it or tell me how.. why the iframe is outta place in firefox www.anastaciadreams.com/preview.html IE6 and 7 are giving me some problems when I check with them to make sure that everything is displaying correctly as it does in FireFox. I made a post about this a while ago (http://www.htmlforums.com/html-xhtml...tch-91890.html). I just want to know the things to know for designing a website with DIVs. From what I can tell so far -- IE tends to leave excessive vertical space between two DIVs that are stacked on top of eachother. IE also seems to have quirks when it comes to stacking DIVs side by side. For example: if two DIVs within a container DIV are side by side with no padding, margins or borders with whatever width in pixels that equal the width of the container DIV -- IE will for some reason add extra width to each of the two DIVs making them align one on top of the other instead of being layed out side by side. What must I do!? Hi, any possible way I can make a table show an image which is randomly selected from a bunch of them? Would I need javascript? something like I have 5 images that are 400x100 and I would want one of the 5 to be randomly selected and displayed each time the page is viewed. Or maybe each day it changes like igoogle home. Hello, I have following div tag where I have a need to change the mouse pointer to a "hand" when it loads. However, this works perfectly fine on IE, but does not work at all on FF. <div id="Div1" class="panel" style=" cursor: hand; margin-right:0.5%; margin-bottom:0.5%;" onclick="javascript:window.open('img_1440.html', '','width=600px,height=400px');" > Please help Thanks, Ruchir Okay say if i only want the custom made cursor to be on only one part of the page how would i do that? This is a example of my code <style type="text/css"> body { cursor: url(http://filexoom.com/files/2007/6/16/...e%20Curser.cur), auto; } A { cursor: url(http://filexoom.com/files/2007/6/16/...e%20Curser.cur), url(http://filexoom.com/files/2007/6/16/...e%20Curser.cur), auto; } </style> I don't want it to be the entire page. as you can tell im new at HTML/CSS Hi i have the following code: <li><a onclick="MM_openBrWindow('Contact.html','Contact','scrollbars=yes,width=650,height=500')">contact</a></li> Now when i go on that link i dont get the hand cursor, it doesnt change. (probably because i dont use 'href') But i dont want the page to chang ejust a popup with a contact form. I have tried by placing: href="index.html" (i thne get the hand cursor) but then it will not only open the popup but also refreshes the page which generates traffic. How can i mak it so that i get the hand cursor and it only opens a popup with the contact form. Thnx This maybe a dumb question. I form that I use for my mailing list. I am having trouble getting the cursor to display as a text cursor over the input section and a hand cursor over the "sign up" button. Ref: http://bigdogcattle.com Here is the html code: <div class="form_contents"> <label for="email">Join our Mailing List</label> <input type="text" name="email" /> <br/><br/> <input type="submit" value="Sign Up!"/> </div> Any ideas? Thanks, Jamie Ok so I think I have to use JavaScript in order to achieve this but Im not sure. What I want to do is have a bunch of different pages and have the page numbers below. Kinda like the page numbers in google. I also am wondering how to make a link to go to the next page in the group or to go to the very last one and than back to the first and so on... Any help..sry if I didnt explain it the best Hi, I had this under multimedia elements but I think it makes more sense here. when I have an embedded youtube video and forms in the same page the cursor in the forms blink fast and nasty. That happens with IE and Firefox but is ok with Opera. If you try the code below you can see how the cursor in the text area behaves. Do you have any hints how to fix that? Do you see also the problem or is it only me? Code: <html> <body> <form> First name: <input type="text" name="firstname"> </form> <object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/wreP8FMupyM&hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/wreP8FMupyM&hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object> </body> </html> Thanks I'm using 'hide and show' frames on my site and use button images to show and hide them. I would like the cursor to change when they hover over the button to show that they are a link or will do something. At the moment the arrow stays just as it is. You can see the problem on http://www.islandcottageholidays.com Thank you in advance Oliver Hi, Does anyone know how to turn keep an image input type as well as keep have the ability that when you hover over the image you have the hand cursor. In addition its using post method to go through. My goal is to do it without using the A HREF or it wont work. Currently doing: <input type="image" src="images/graphics/art" > What I want to do: <input type="image" src="images/graphics/art" onMouseOver="cursor:hand" > Thanks. Can someone tell me how I would code for a webpage to open directly into a form where the cursor just sits there flashing awaiting input form the user. just like this google page does: http://maps.google.co.uk/maps I have the webpage and the form, but just need to know hot get the cursor to go straight to the form? First of all, I don't know what the thing is called that blinks inside a textarea. So if you could tell me what the name of that is, that'll be great. I'll called it a cursor for now. Here's the problem. Let's say I had a simple textarea with some values already filled in. Ex: Code: <textarea name="input1" rows="15" cols="75"> <!-- Cursor should go here --> ----- Original Message ----- From: blah To: Blah Date: Blah Blah Some Random Text </textarea> So, whenever a page loads, I need the "cursor" to be automatically at the beginning of the textarea (where "<!-- Cursor should go here -->" is). How would I go about doing that either in just HTML or Javascript? Hello everyone. I'm trying to use code that will allow me to have links my guests click open in a new window of a set size. The problem I'm having is that when I use this code the cursor doesn't change to a hand when my guests mouse over the images I want them to click. I'm afraid they won't realize they are links. I found the code on a website I put together years ago, hopefully there's a better way to do this now. Please forgive me if this belongs in "Client Side Scripting" The java is as follows: Code: <script language="JavaScript"> <!-- function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); } //--> </script> The code is as follows: HTML Code: <a = "#" onClick="MM_openBrWindow('p1.html','','resizable=yes,width=450,height=350')"> <img src="thumb/p1.jpg" width="50" height="50" vspace="1" hspace="1" border="0"></a> Thank you very much! |