![]() ![]() |
Aug 20 2007, 03:34 PM
Post
#1
|
|
![]() Veteran ![]() ![]() ![]() Group: Members Posts: 1948 Joined: 29-August 05 From: Leamington ON, Canada Member No.: 3058 2009 MFL: 31589 , 24836 |
I am working on a new script that will popup a window when an owner visits the site.
If you would like to test it out then here is the script. You should put it as your footer so that it will popup on any page that you are on not just the home page. Updated September 2 Copy the following code to a home page message (preferably a home page message that has been set up as the footer) CODE <script language="JavaScript" type="text/javascript" src="http://www.habman.com/mfl/apps/js/jsvisitorpopup.js"></script> -------------------- My MFL scripts . . . . . . . . http://www.habman.com/mfl/
|
|
|
|
Aug 22 2007, 10:07 PM
Post
#2
|
|
|
Veteran ![]() ![]() ![]() Group: Members Posts: 1194 Joined: 1-March 04 From: AZ USA Member No.: 189 |
will give it a shot when i get caught up. looks cool.
|
|
|
|
Aug 23 2007, 06:42 AM
Post
#3
|
|
|
Veteran ![]() ![]() ![]() Group: Members Posts: 692 Joined: 21-May 06 From: Massachusetts Member No.: 4357 2009 MFL: 43438 |
|
|
|
|
Aug 23 2007, 09:17 AM
Post
#4
|
|
![]() Veteran ![]() ![]() ![]() Group: Members Posts: 1948 Joined: 29-August 05 From: Leamington ON, Canada Member No.: 3058 2009 MFL: 31589 , 24836 |
will give it a shot when i get caught up. looks cool. ok i copy n pasted the code and set it in 1 of my homepage messages and checked off ...in footer on all pages ..and than i logged back into thge site and nothing happened ...am i doing something wrong? No you aren't doing anything wrong. I have the pop set so as not to diplay your own logins. If you want to test it out login as the commissioner on IE then login as another franchise on Firefox. You should see a popup on the IE screen within 30 seconds. EDITED TO ADD You need to use two different browsers for this test like IE, Firefox, Opera etc. In case you didn't know you can log into any franchise using the commissioner password. -------------------- My MFL scripts . . . . . . . . http://www.habman.com/mfl/
|
|
|
|
Oct 1 2007, 08:13 AM
Post
#5
|
|
![]() Veteran ![]() ![]() ![]() Group: Members Posts: 139 Joined: 18-July 04 From: South Jersey Member No.: 766 2009 MFL: 28197 2010 MFL: 40359 |
League ID 18883
Can you help me add this code I tried and it doesn't seem to work |
|
|
|
Oct 2 2007, 01:11 AM
Post
#6
|
|
![]() Veteran ![]() ![]() ![]() Group: Members Posts: 1948 Joined: 29-August 05 From: Leamington ON, Canada Member No.: 3058 2009 MFL: 31589 , 24836 |
League ID 18883 Can you help me add this code I tried and it doesn't seem to work When I check out your site I see alot of "&&" in the code. This happens when you re-enter a home page message that has javascript and save it. All "&" become "&" which causes the code to fail. Just use the first version of the code posted to avoid this issue. ie CODE <script language="JavaScript" type="text/javascript" src="http://www.habman.com/mfl/apps/js/jsvisitorpopup.js"></script>
-------------------- My MFL scripts . . . . . . . . http://www.habman.com/mfl/
|
|
|
|
Dec 22 2007, 08:53 AM
Post
#7
|
|
![]() Veteran ![]() ![]() ![]() Group: Members Posts: 1924 Joined: 23-February 04 From: Colorado Member No.: 45 2009 MFL: 74918 , 40646 2010 MFL: 20796 , 32189 |
This works great, but what's the chances of adding a notification of "visitors" to the site. If not a major coding nightmare possibly showing their Sideline Forum User Name or if a not a member, just a pop-up showing an unknown visitor (IP Address) is currently on site.
Another long shot - a small bit of code to show how many are currently viewing the site. Add it as a MFL Message? Just thinking aloud - Thanx -------------------- "Pain Heals. Chicks Dig Scars. Glory Lasts Forever."
|
|
|
|
Jan 8 2008, 06:59 PM
Post
#8
|
|
|
Member ![]() ![]() Group: Members Posts: 13 Joined: 25-February 07 Member No.: 5109 |
something I'm curious about. Could this be used to work as a sort of "breaking news" alert?
My managers and I like to have "news stories" to announce new acquisitions, as well as 'coaching hires' and whatnot. I was thinking that we could start using the bulletin board for this, but could something pop up like this for a new post on the bulletin board? If not... any other ideas, or cool ways this could be done? Thanks in advance! |
|
|
|
Sep 8 2008, 02:25 PM
Post
#9
|
|
|
Veteran ![]() ![]() ![]() Group: Members Posts: 90 Joined: 4-May 07 Member No.: 5149 |
When the pop-up window appears on my site it is a white box with white lettering.. I can't read what it is saying. Is there a way to change the font color? I did use one home page message for the 'alert' app and the 'pop-up' app.. Is this legal? Here is the code;
CODE <script language="JavaScript" type="text/javascript" src="http://www.habman.com/mfl/apps/js/jsvisitorpopup.js"></script> <script language="JavaScript" type="text/javascript" src="http://www.habman.com/mfl/apps/js/habchatfooter.js"></script> <script language="Javascript" type="text/javascript"> <!-- if (alertActive==undefined) { var alertActive='false' } if (alertActive=='false') { var chatAlertServerTime = currentServerTime var chatAlertTimer=0 clearInterval(chatAlertTimer) readMessagesForAlert(true) } // --> </script> Thanks guys.. |
|
|
|
Sep 8 2008, 02:58 PM
Post
#10
|
|
![]() Veteran ![]() ![]() ![]() Group: Members Posts: 1948 Joined: 29-August 05 From: Leamington ON, Canada Member No.: 3058 2009 MFL: 31589 , 24836 |
When the pop-up window appears on my site it is a white box with white lettering.. I can't read what it is saying. Is there a way to change the font color? I did use one home page message for the 'alert' app and the 'pop-up' app.. Is this legal? Here is the code; CODE <script language="JavaScript" type="text/javascript" src="http://www.habman.com/mfl/apps/js/jsvisitorpopup.js"></script> <script language="JavaScript" type="text/javascript" src="http://www.habman.com/mfl/apps/js/habchatfooter.js"></script> <script language="Javascript" type="text/javascript"> <!-- if (alertActive==undefined) { var alertActive='false' } if (alertActive=='false') { var chatAlertServerTime = currentServerTime var chatAlertTimer=0 clearInterval(chatAlertTimer) readMessagesForAlert(true) } // --> </script> Thanks guys.. Try doing a CTRL-F5 then the next time someone logs in the font should be black. -------------------- My MFL scripts . . . . . . . . http://www.habman.com/mfl/
|
|
|
|
![]() ![]() |
| Lo-Fi Version | Time is now: 3rd September 2010 - 11:24 PM |