Forum moderator: bigblog |
uCoz Community For Webmasters Custom Solutions 2 Automatic AJAX window on webpage load (Tutorial) |
2 Automatic AJAX window on webpage load |
Quote (Blazer) Dark__Gamer, i dont know about that sorry, ask CreativeCollusions. Okay no problem. It's no big deal anyways. A Naughty Dog Fansite! Check us out maybe even Sign up.
Violation of http://forum.ucoz.com/forum/30-3739-1 |
CreativeCollusions, Works fine but when I use HTML in it It's only POP UP when members Login
![]() But I also like to have this for guest ![]() I tried Conditional operators did not work ether any solution Boss? ![]() |
Hello Natashko, thanks for noticing
![]() here is the Link http://bengaltiger.ucoz.com and this is the code I tried to use Post edited by Bengaltiger - Thursday, 2011-09-08, 4:51 PM
|
Bengaltiger, Bengaltiger, use this code:
Code <?if($USER_LOGGED_IN$)?><?else?> <script type="text/javascript"> var string = "Please <a href=\"javascript://\" rel=\"nofollow\" onclick=\"new _uWnd('LF',' ',-250,-110,{autosize:0,closeonesc:1,resize:1},{url:'/index/40'});return false;\">Sing in</a> to have full access, Not Member yet <a href=\"http://verstka.ucoz.net/index/3\">Sing up</a>"; window.onload = _uWnd.alert(string,'TESTING',{w:300,h:100,tm:10000}); </script><?endif?> instead of yours |
NiCe
![]() but 2 new problem shows up ![]() 1 - Window not closing automatically 2 - Window hidden a little on the right side! :/ ...for more clarify check the IMAGE->> ![]() Attachments:
1867377.jpg
(48.8 Kb)
|
Thanks a LOT Natashko, you didn't only solve the problem but fulfilled my one of my big time wish.
you are GREAT ![]() Post edited by Bengaltiger - Monday, 2011-09-12, 8:43 PM
|
Natashko, ...where i can paste that code?? for Ajax onload popup?
<?if($USER_LOGGED_IN$)?><?else?> <script type="text/javascript"> var string = "Please <a href=\"javascript://\" rel=\"nofollow\" onclick=\"new _uWnd('LF',' ',-250,-110,{autosize:0,closeonesc:1,resize:1},{url:'/index/40'});return false;\">Sing in</a> to have full access, Not Member yet <a href=\"http://verstka.ucoz.net/index/3\">Sing up</a>"; window.onload = _uWnd.alert(string,'TESTING',{w:300,h:100,tm:10000}); I'm not so good in the case of websites, But i'm a Good Learner i can learn Very Fast...
Thanks for the help buddies and that is my site [ King Wains Alex ] |
Hi everbody ... i'm using this code but only i can see it (only Admin) if i logout it does not appear ...anybody please help me
and it is appearing on Bottom Right side on the Page..... Code <script type="text/javascript"> window.onload = function ajaxbtm() {_uWnd.alert('Thanks For Visiting (<a href="$REGISTER_LINK$">Regsiter</a> or <a href="$LOGIN_LINK$">Login</a>)','Welcome To K.W.A',{w:250,h:100,tm:10000});} </script> I'm not so good in the case of websites, But i'm a Good Learner i can learn Very Fast...
Thanks for the help buddies and that is my site [ King Wains Alex ] Post edited by AlexWains - Friday, 2012-06-15, 1:49 PM
|
AlexWains, as I said, I will be updating this script soon and will be more than happy to help you when it is ready
![]() Kind regards,
Elliott. "The best uCoz" critic since 2007. Qualified website, branding, print & user interface designer. I'm on Behance and Twitter. Post edited by CodeResolution - Thursday, 2012-07-12, 11:21 PM
|
| |||
Need help? Contact our support team via
the contact form
or email us at support@ucoz.com.