Forum moderator: bigblog  
uCoz Community » For Webmasters » Custom Solutions » 2 Automatic AJAX window on webpage load (Tutorial)
2 Automatic AJAX window on webpage load
Blazer
Posts: 310
Reputation: 25

Message # 16 | 3:49 PM
CreativeCollusions, i want it to be on main page only
If i helped you + My Reputation and Give me an Award.
Post edited by Blazer - Wednesday, 2011-06-01, 5:08 PM
Paradox
Old Guard
Posts: 3284
Reputation: 145

Message # 17 | 11:48 PM
Blazer, you could give your home page a custom template and place the script in the header.
Jack of all trades in development, design, strategy.
Working as a Support Engineer.
Been here for 13 years and counting.
Animorph
Posts: 2856
Reputation: 189

Message # 18 | 6:23 AM
Blazer, Do almost what Paradox, said , just search for the module that you use as homepage and paste the script between head and head tags
To busy building a passive income online ;)
Blazer
Posts: 310
Reputation: 25

Message # 19 | 4:19 PM
Animorph, what if i am not using any module on my home page ( uCoders.uCoz.com)
If i helped you + My Reputation and Give me an Award.
Animorph
Posts: 2856
Reputation: 189

Message # 20 | 2:38 PM
Blazer, i saw the script working on your site a day ago i think , what did you change ?
To busy building a passive income online ;)
Blazer
Posts: 310
Reputation: 25

Message # 21 | 11:37 PM
can i change its color ?
If i helped you + My Reputation and Give me an Award.
Post edited by Blazer - Wednesday, 2011-06-15, 11:37 PM
Paradox
Old Guard
Posts: 3284
Reputation: 145

Message # 22 | 11:43 PM
Blazer, the colour of the ajax window can be changed through adjusting the colour of the admin bar.

Hope this helps, happy

Jack of all trades in development, design, strategy.
Working as a Support Engineer.
Been here for 13 years and counting.
Dark__Gamer
Posts: 30
Reputation: 0

Message # 23 | 2:00 AM
Quote (CreativeCollusions)
#2. In the content area place the following:
Code
Make sure to <a href="$REGISTER_LINK$">Regsiter</a> or <a href="$LOGIN_LINK$">Login</a>


How can I make it so that it only shows up when a unique IP or someone who isn't logged in views the site?

A Naughty Dog Fansite! Check us out maybe even Sign up.
Violation of http://forum.ucoz.com/forum/30-3739-1
Blazer
Posts: 310
Reputation: 25

Message # 24 | 2:08 AM
Dark__Gamer, you can do it by using Conditional operators.
If i helped you + My Reputation and Give me an Award.
Dark__Gamer
Posts: 30
Reputation: 0

Message # 25 | 2:37 AM
Quote (Blazer)
Dark__Gamer, you can do it by using Conditional operators.


And what would the code be for that?

A Naughty Dog Fansite! Check us out maybe even Sign up.
Violation of http://forum.ucoz.com/forum/30-3739-1
Blazer
Posts: 310
Reputation: 25

Message # 26 | 3:01 AM
This is an example of how the code is going to look like
Code
<?if($USER_LOGGED_IN$)?> Hello, $USERNAME$ <?else?> You are a GUEST. Please, register. <?endif?>

If i helped you + My Reputation and Give me an Award.
Post edited by Blazer - Friday, 2011-06-17, 3:03 AM
Dark__Gamer
Posts: 30
Reputation: 0

Message # 27 | 3:21 AM
How would I make it so the centered one closes on it's own after a couple of seconds?
A Naughty Dog Fansite! Check us out maybe even Sign up.
Violation of http://forum.ucoz.com/forum/30-3739-1
Blazer
Posts: 310
Reputation: 25

Message # 28 | 3:23 AM
Dark__Gamer, i dont understand what you want...
If i helped you + My Reputation and Give me an Award.
Dark__Gamer
Posts: 30
Reputation: 0

Message # 29 | 3:34 AM
The first AJAX code. The one that is centered. How can I make it so it closes on it's own and not having to manually click X
A Naughty Dog Fansite! Check us out maybe even Sign up.
Violation of http://forum.ucoz.com/forum/30-3739-1
Blazer
Posts: 310
Reputation: 25

Message # 30 | 3:35 AM
Dark__Gamer, i dont know about that sorry, ask CreativeCollusions.
If i helped you + My Reputation and Give me an Award.
uCoz Community » For Webmasters » Custom Solutions » 2 Automatic AJAX window on webpage load (Tutorial)
Search: