Go Back   Webmaster Malaysia Forum » Website Design & Development » Website Design

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 30-06-2005, 11:18 AM
New kid on the block
 
Join Date: Jun 2005
Location: Kuala Lumpur
Posts: 2
Rep Power: 0
marcoenie is on a distinguished road
HTML & JavaScript

Salam,

Saya baru terlibat dalam pembangunan laman web. Di sini saya ada masalah di mana pop-up bagi coding html saya tidak keluar.

Ini ialah contoh coding saya:

<html>

<head>
<title> SPORTS POOLS </title>
</head>

<body>

<h1><i><center> Sports Pools </center></i></h1>

<p><h3><center> Enter our weekly pools and compute against thousands of sports fans! Weekly
prizes are awarded to the winners! </center></h3></p>

<script type="text/javascript">

alert('Congratulations to last week's winner John Huggins of New Jersey!
Good luck in this week's pool!');

</script>

</body>

</html>

**Adakah saya perlu melaksanakan apa-apa perubahan konfigurasi pada PC saya.

Terima kasih.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 30-06-2005, 04:25 PM
unclejim's Avatar
Inspired Webmaster
 
Join Date: Jun 2004
Location: Setia Alam, Selangor
Posts: 177
Rep Power: 55
unclejim is on a distinguished road
Ya, awak perlu format PC dan kemudian reinstall Windows XP SP2 bersama Microsoft AntiSpyware yang terbaru. Kemudian cuba sekali lagi.

He he... ataupun cuma perlu berhati-hati dengan quote marks ' ' tu. Kena letak backslash kalau ada nested quote.

Sepatutnya:
Quote:
alert('Congratulations to last week\'s winner John Huggins of New Jersey! Good luck in this week\'s pool!');
Teruskan menimba ilmu, selamat maju jaya
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-07-2005, 05:05 PM
New kid on the block
 
Join Date: Jun 2005
Location: Kuala Lumpur
Posts: 2
Rep Power: 0
marcoenie is on a distinguished road
Perlu ke untuk re-install PC? Sebab setakat nih PC saya tidak mengalami apa2 masalah. Dan lagi...PC saya juga telah dilengkapi dengan perisian JAVA.

Terima kasih.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 05-07-2005, 06:18 PM
mysticmind's Avatar
Super Moderator
 
Join Date: Jun 2001
Location: Mystic Kingdoms
Posts: 2,619
Rep Power: 141
mysticmind will become famous soon enough mysticmind will become famous soon enough
Send a message via Yahoo to mysticmind
ko dah baca betul2 ke komen uncle jim tuh?
rasanya dah terjawab dah...
__________________
Personal's Blog! - Malaysian Artist!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 05-07-2005, 08:40 PM
unclejim's Avatar
Inspired Webmaster
 
Join Date: Jun 2004
Location: Setia Alam, Selangor
Posts: 177
Rep Power: 55
unclejim is on a distinguished road
Oh, kalau dah ada JAVA jangan re-install. Nanti Javascript tak boleh jalan.

Kena letak tag [lawak] [/lawak] baru paham kot. sheeesh...
__________________
budding junior commentor
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 05-07-2005, 08:51 PM
unclejim's Avatar
Inspired Webmaster
 
Join Date: Jun 2004
Location: Setia Alam, Selangor
Posts: 177
Rep Power: 55
unclejim is on a distinguished road
Sori la marcoenie, bila aku baca balik mungkin kau betul2 tak paham. So ini jawapan ikhlas: Tak Perlu Re-install.

Code yang perlu ditukar sila rujuk reply aku yang pertama. Tambah backslash sebelum quote mark.
__________________
budding junior commentor
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 06-07-2005, 01:42 AM
mysticmind's Avatar
Super Moderator
 
Join Date: Jun 2001
Location: Mystic Kingdoms
Posts: 2,619
Rep Power: 141
mysticmind will become famous soon enough mysticmind will become famous soon enough
Send a message via Yahoo to mysticmind
Quote:
Originally Posted by unclejim
Sori la marcoenie, bila aku baca balik mungkin kau betul2 tak paham. So ini jawapan ikhlas: Tak Perlu Re-install.

Code yang perlu ditukar sila rujuk reply aku yang pertama. Tambah backslash sebelum quote mark.
aku pun tolong tambah laa..

sebab tanda/askara --> '
akan merosakkan code javascript ko tuh.. sebab askara ' nih ialah closing tag bagi code2 javascript tuh sendiri... begitu juga dengan " .
jadi penggunaan backslash \ adalah untuk menafikan tanda ' disitu adalah sekadar huruf dan bukan kod..

susah nak faham? cube2 lah faham..
kalau tak faham juga.. baca ulang2 dan cuba juga faham..
__________________
Personal's Blog! - Malaysian Artist!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 13-02-2006, 07:09 PM
Novice Webmaster
 
Join Date: Feb 2006
Location: Malaysia
Posts: 27
Rep Power: 0
affuone is on a distinguished road
htm or html?

apa beza htm n html ek? sama jer aku wat..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 15-02-2006, 12:03 PM
mysticmind's Avatar
Super Moderator
 
Join Date: Jun 2001
Location: Mystic Kingdoms
Posts: 2,619
Rep Power: 141
mysticmind will become famous soon enough mysticmind will become famous soon enough
Send a message via Yahoo to mysticmind
Quote:
Originally Posted by affuone
apa beza htm n html ek? sama jer aku wat..
ler.. tuh pun tak tau..
bezanya ialah huruf L

__________________
Personal's Blog! - Malaysian Artist!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
javascript + php tenuk Website Programming 3 11-12-2006 09:32 AM
Create HTML guna javascript lias Website Design 3 26-05-2004 05:28 PM
Javascript for right clicking? blu3m0on Website Design 11 01-11-2003 10:49 PM
javascript question kelly001 Website Design 0 22-07-2003 01:20 AM
Just some questions about Javascript ngaisteve1 Website Design 1 13-02-2003 04:08 PM



All times are GMT +8. The time now is 02:57 PM. Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0 vBulletin skin by ForumMonkeys.com.


WebmasterMalaysia.com is Proudly Hosted by Exabytes Semi Dedicated Server.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59