Advertise Here

Author Topic: [JavaScript]Welcome Message[Code]  (Read 9863 times)

0 Members and 1 Guest are viewing this topic.

Offline 7Vick

  • SMF For Free Newbie
  • *
  • Posts: 1
    • View Profile

  • Total Badges: 5
    Badges: (View All)
    Topic Starter Level 1 First Post Second year Anniversary One year Anniversary
[JavaScript]Welcome Message[Code]
« on: May 14, 2010, 09:29:59 pm »
Forum Url: http://CrossfireStuff.smfforfree.com
**Warning**                                                                                      |
 MSG Happens every time you reload page or  Navigate anywhere else           |
__________________________________________________________________

Here is where you go -
Quote
Admin>ManageStyle>Headers/Footers

Put it in Headers

Here is the code
Quote
<script language="JavaScript">

<!--
function WelcomeMSG ()
{
alert("Please visit the rules page near the bottom before using this chatbox.- Nick!")
}
 -->

</script>

<body onLoad="WelcomeMSG()">

If you need any help reply here or pm me

Offline Jntg4

  • SMF For Free Sr. Member
  • *
  • Posts: 250
    • View Profile

  • Total Badges: 14
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [JavaScript]Welcome Message[Code]
« Reply #1 on: May 14, 2010, 11:30:07 pm »
Could you just put it in a portal block to make it only show up on certain pages?

Offline Andrew

  • Helpers
  • *
  • Posts: 2060
  • Andrew at your service
    • View Profile
    • Alabama Weather Prediction

  • Total Badges: 32
    Badges: (View All)
    10 Poll Votes Level 6 Eighth year Anniversary Seventh year Anniversary Sixth year Anniversary
Re: [JavaScript]Welcome Message[Code]
« Reply #2 on: May 14, 2010, 11:43:09 pm »
Could you just put it in a portal block to make it only show up on certain pages?

That would actually work alot better. Getting an alert everytime you make a click can be really annoying and drag people away from your forum. However, (don't quote me on this, I haven't tried it.) I don't think JavaScript works in EzBlocks.

Offline Agent Moose

  • Moderator
  • *****
  • Posts: 836
  • Do not PM me for Code Support or Request
    • View Profile

  • Total Badges: 32
    Badges: (View All)
    Search Level 6 Tenth year Anniversary Nineth year Anniversary Eighth year Anniversary
Re: [JavaScript]Welcome Message[Code]
« Reply #3 on: May 16, 2010, 11:27:37 pm »
Really?  It should,  There is one that allowes HTML, right?
Check out Revolution X's Brand new Code Index!

Offline Andrew

  • Helpers
  • *
  • Posts: 2060
  • Andrew at your service
    • View Profile
    • Alabama Weather Prediction

  • Total Badges: 32
    Badges: (View All)
    10 Poll Votes Level 6 Eighth year Anniversary Seventh year Anniversary Sixth year Anniversary
Re: [JavaScript]Welcome Message[Code]
« Reply #4 on: May 17, 2010, 08:50:44 am »
Really?  It should,  There is one that allowes HTML, right?

I said don't quote me. :P I haven't tried it.

Offline Inferno-Legion

  • SMF For Free Member
  • *
  • Posts: 54
    • View Profile

  • Total Badges: 10
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 50 Posts
Re: [JavaScript]Welcome Message[Code]
« Reply #5 on: July 15, 2010, 02:01:40 pm »
Yeah it does show HTML...
Thanks,
          Inferno-Legion

Offline Hakam J.

  • SMF For Free Member
  • *
  • Posts: 56
    • View Profile
    • The Gaming World

  • Total Badges: 9
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 50 Posts
Re: [JavaScript]Welcome Message[Code]
« Reply #6 on: January 09, 2011, 12:46:44 pm »
I don't find this useful at all.   For announcements, just use a announcement script and it'll add a sticky box into your page at certain pages, but alerts (pop-ups) are way too annoying.   Not recommended, even in a certain page, sorry!

Hakam J.,

Offline Seldom Fail

  • Helpers
  • *
  • Posts: 2082
  • Helping for 3 years! :)
    • View Profile
    • My Site!

  • Total Badges: 26
    Badges: (View All)
    Sixth year Anniversary Fifth year Anniversary Apple User Search Poll Voter
Re: [JavaScript]Welcome Message[Code]
« Reply #7 on: January 09, 2011, 09:32:15 pm »
I don't find this useful at all.   For announcements, just use a announcement script and it'll add a sticky box into your page at certain pages, but alerts (pop-ups) are way too annoying.   Not recommended, even in a certain page, sorry!

Hakam J.,

^^ rude.

As stated in previous posts, it will work in an EzBlock. Which means it would only happen on that ONE page.

Which would be far less annoying.
<--- Donate to SMF For Free! :D

Offline Hakam J.

  • SMF For Free Member
  • *
  • Posts: 56
    • View Profile
    • The Gaming World

  • Total Badges: 9
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 50 Posts
Re: [JavaScript]Welcome Message[Code]
« Reply #8 on: January 13, 2011, 03:58:23 pm »
I don't find this useful at all.   For announcements, just use a announcement script and it'll add a sticky box into your page at certain pages, but alerts (pop-ups) are way too annoying.   Not recommended, even in a certain page, sorry!

Hakam J.,

^^ rude.

As stated in previous posts, it will work in an EzBlock. Which means it would only happen on that ONE page.

Which would be far less annoying.

Well - to be honest, I am not trying to be rude.   I am just saying my option, as other peoples options will be different, and I'm pretty sure about it.    Like, its probably useless for me because I've got a another solution instead of this.

Hakam J.,

 

Related Topics

  Subject / Started by Replies Last post
10 Replies
3955 Views
Last post June 22, 2007, 01:46:30 am
by Kimmie
6 Replies
6213 Views
Last post June 13, 2009, 09:47:59 pm
by Agent Moose
0 Replies
3552 Views
Last post June 09, 2008, 11:19:37 pm
by guest4485
2 Replies
1752 Views
Last post June 20, 2008, 05:41:35 am
by Supernovadelta
9 Replies
2607 Views
Last post July 10, 2008, 05:51:00 am
by windom