-
Why does this code not work?
I am reading a book on Javascript and am trying to create a rollover image but when I preview in the browser it doesnt come up with anything other than a block with and "X" Please help Hear is the code: --> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <script> var greenBlock = new image; greenBlock.src = "greenblock.jpg"; var redBlock = new image; redBlock.src = "redblock.jpg"; function turnGreen() { document.block.src = greenBlock.src; return; } function turnRed() { document.block.src = redBlock.src; return; } </script> </head> <body> <a href="default.html" onMouseOut="turnGreen()" onMouseOver="turnRed()"><img name="block" src="greenblock.jpg" /></a> </body> </html> Thanks
-
Let me know your honest opinions please!?
Hi Guys, I know you get asked this alot but this is my first go at making a site and just wanted to know what you think? Just wanted to know as if you were the customer what would you think, Is the layout exceptable, Does it catch your eye, but most of all what dont you like or what you would consider changing? Let me know if you would like to see more examples of the site? Then more comments the more helpful. Thanks in advance! Miguel7
-
Uploading websites
everything is with crazydomains.com.au
-
Uploading websites
I am so new to the uploading you have lost me? you mean like a root folder to the public_html? the site is landknow.com.au
-
Uploading websites
Hi brighton mike, Look at my pic attached... they are in the public but still dont come up in the browser... any clue what i might be doing something wrong? Miguel Barbosa
-
Uploading websites
i am doing it through dreamweaver so i get it to connect no problem but then it says define remote server and when i define it i see a public_html but i also see my webpage files on the outside of the public_html. I just get this is a parked domain when i try open the site in the browser. is the local root folder and the root directory different? i got the domain name web hosting and dns hosting from crazy domains. not sure if they have a manager client? i am so confused! Miguel Barbosa
-
hello WDF
Hi everyone, My name is Miguel and I am self teaching my self webdesign and going on some courses. I am new to forums but thought nothing better than asking people that have the knowledge or people that are trying to find out the same things me. So please bare with me as there could be lots of questions and some dumb ones to. Miguel Barbosa
-
Uploading websites
Hi Guys and Girls, My name is Miguel and I am new to the forum... Learning web devlopment. I have been learning it for a while but have always made mock sites so never had to upload it to the web. I now have a website that I want to upload and am not sure what the root folder is meant to be? I have heard about a public.html & ftp_public.html file? Is this something I need to create or does it set up in a certain location? I am uploading through Dreamweaver and when I test and then "put" the files it comes up successful but when I type in the web address it comes up with parked domain? Any help would be much appriciated. Miguel Barbosa