Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> JavaScript: A Welcome To Visitors Script, give your visitor a warm welcome
cherri
post Apr 22 2006, 12:11 AM
Post #1


Member [ Level 1 ]
Group Icon

Group: Members
Posts: 45
Joined: 21-April 06
Member No.: 12,892



Do you want to give your visitors a warm welcome?
Then use this script:

CODE

<script language="JavaScript">
<!--
alert("text goes here")
-->
</SCRIPT>
Go to the top of the page
 
+Quote Post
FirefoxRocks
post Feb 13 2007, 10:59 PM
Post #2


Super Member
Group Icon

Group: [HOSTED]
Posts: 693
Joined: 12-July 06
From: Ontario, Canada
Member No.: 14,464



I don't think that would be a "warm" welcome. I doubt that anyone would like that actually.

If you are using that anyways, try this instead:
CODE
<script type="text/javascript">
<!--
alert("A popup warning with this text.")
-->
</script>


It generates a popup box that you can click OK in, may scare your visitors away. wink.gif
Go to the top of the page
 
+Quote Post
Mandi
post Apr 22 2007, 09:28 PM
Post #3


Member [ Level 1 ]
Group Icon

Group: Members
Posts: 34
Joined: 20-April 07
Member No.: 21,559



Thanks, both of you, im sure it will be of good use for me smile.gif
Go to the top of the page
 
+Quote Post
mshmsh2010
post Oct 6 2007, 11:08 AM
Post #4


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 9
Joined: 22-September 07
Member No.: 25,033



<script type="text/javascript">
<!--
alert("A popup warning with this text.")
-->
</script>

<script language="JavaScript">
<!--
alert("text goes here")
-->
</SCRIPT>

can u define the defirence betweeen the both javascripts
...................
mshmsh2010
...................
Go to the top of the page
 
+Quote Post
HabboCone
post Oct 8 2007, 02:40 AM
Post #5


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 15
Joined: 8-October 07
From: Australia
Member No.: 25,383



Can i ask what is JavaScirpt? Is it like html where you can make a website with?? or is it like to code layouts or make games with?? because i have the urge to learn it laugh.gif laugh.gif
Go to the top of the page
 
+Quote Post
kelvinmaki
post Oct 8 2007, 06:00 AM
Post #6


Advanced Member
Group Icon

Group: Members
Posts: 170
Joined: 30-July 07
Member No.: 23,704



QUOTE(mshmsh2010 @ Oct 6 2007, 11:08 AM) *
&lt;script type="text/javascript">
<!--
alert("A popup warning with this text.")
-->
</script>

&lt;script language="JavaScript">
<!--
alert("text goes here")
-->
</SCRIPT>

can u define the defirence betweeen the both javascripts


Its the same for the header. But normally people would use

CODE
&lt;script src="codes.js" type="text/javascript"></script>


or
CODE
&lt;script type="text/javascript">
codes here
&lt;script>


And here is a startup link to learn about Javascript as requested. Hope this help. Cheers

http://www.w3schools.com/js/

Go to the top of the page
 
+Quote Post
.:Brian:.
post Oct 8 2007, 05:05 PM
Post #7


Premium Member
Group Icon

Group: Members
Posts: 219
Joined: 13-February 07
Member No.: 20,371



I am not so sure that this would be much of a warm welcome to visitors....this is usually the kind of thing that comes up on websites that contain viruses and such, plus since the box that comes up looks like a box that would come up in a program many visitors will think that your website may have downloaded something onto their computer, and they will therefore not like your website at all...
Go to the top of the page
 
+Quote Post
pyost
post Oct 8 2007, 09:09 PM
Post #8


Nenad Bozidarevic
Group Icon

Group: [MODERATOR]
Posts: 1,013
Joined: 7-November 05
From: Belgrade, Serbia
Member No.: 9,500



Seconded.

I definitely do not consider a JavaScript popup a warm welcome. Perhaps if it were embeded in the page as a separate window, without a pop-up...
Go to the top of the page
 
+Quote Post
kelvinmaki
post Oct 9 2007, 05:45 AM
Post #9


Advanced Member
Group Icon

Group: Members
Posts: 170
Joined: 30-July 07
Member No.: 23,704



QUOTE
I am not so sure that this would be much of a warm welcome to visitors....this is usually the kind of thing that comes up on websites that contain viruses and such, plus since the box that comes up looks like a box that would come up in a program many visitors will think that your website may have downloaded something onto their computer, and they will therefore not like your website at all...


A warm welcome to visitor may not be wise in a website as what Brian mentioned. However a popup with important notices can useful. A few website that I've visited contain some Javascript popup that contain important notices. Guess if your college website will have those like project dues notices.. But for those welcome message... maybe not. wink.gif
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Getting Screen Resolution using Javascript.(8)
  2. How To Create A Popup Window With Javascript?(19)
  3. javascript vs java(12)
  4. Javascript: Disable Mouse Right-click In Browser(16)
  5. Best Way To Learn Javascript(9)
  6. Javascript: Text To Texbox And Back To Text(2)
  7. Browser Quaker Script - Shock Your Visitors!(5)
  8. Dynamicdrive: Good Site For JavaScript Codes(5)
  9. Javascript: Simple Slidedown Menu(2)
  10. JavaScript: Hide And Show Any Element With CSS(5)
  11. Ever Needs To Find Out A Table Height Or With With JavaScript(2)
  12. Create And Import JavaScript Modules For A Large Script(2)
  13. Vertical Marquee Using JavaScript(0)
  14. JavaScript Frames & Querystring(4)
  15. JavaScript Off Redirect Script(2)
  1. Enlarge Image Script(19)
  2. I Need Help With Javascript.(7)
  3. Problems With Dynamically Loading Javascript(2)
  4. One Click To Copy Script(0)
  5. Add Text To Textarea(6)
  6. Javascript Question(4)
  7. Javascript: How Do I Create Embedded Pop-up Windows?(7)
  8. Problem With Javascript Alert();(9)
  9. Include Function For Javascript(7)
  10. Fun With Javascript And Forms(2)
  11. Javascript Help Needed : Alert(z) Works Fine But Document.write Not(2)
  12. Javascript Changes Aren't Working.(6)
  13. Love Script(3)


 



- Lo-Fi Version Time is now: 6th October 2008 - 05:45 PM