242MEDIA .. CHATROOM..... :Hi,..... Leecher ............... You Are Ranked As:.... Banned ............... |....RULES: 1.No External Urls, 2.Enjoy Yourself [ CONTENT · New messages · Members · Forum rules · Search · RSS ]
| | | |
200
  • Page 1 of 1
  • 1
Forum moderator: hotskull, DjWiicked, ChiefAdministrator  
🎶 242MediaBahamas Digital Media 🎶 » *Reports| *Faqs| *Help Support| *Updates| *Graveyard| » Tech Help| Support Center » ajax window (details)
ajax window
DjWiickedDate: Sunday, 19/Feb/2017, 6:15 PM | Message # 1  |🚨
FORUM RANK

-----------------------------------
Messages: 111
Awards: 34
Reputation: 10000
Status: :-)
Awards: 34Loading awards ...
Donation Plans
That script requires a click. To make it easier I've just done some modifications with a few scripts and here it is. This will automatically open an AJAX window in the center of the page.
Place the following code between the and tags.
Quote

Marked Blue - The content
Marked Red - The title
Marked Purple - The size
Marked Green - Optional features


ALL LINKS ARE EXTERNAL LINKS,& FOR PROMOTIONAL USE! PLEASE DONATE!!!
 

DjWiickedDate: Sunday, 19/Feb/2017, 6:15 PM | Message # 2  |🚨
FORUM RANK

-----------------------------------
Messages: 111
Awards: 34
Reputation: 10000
Status: :-)
Awards: 34Loading awards ...
Donation Plans
I have custom ajax window code, but when i open game to play in ajax window there is wrong widht and height of the window.
In default ajax window opens properly, but i dont like default ,gray, light etc..
I mean ajax window open in smaler dimension than the game is, i show you in image below. What css clas i missed to enter in code to have properly size of window?


My ajax code:

/* AJAX РћРљРќРћ v.2.0
============================================================================*/
.x-sh .xstl{padding-top:6px; background:none!important;}
.x-sh .xsml{background:none!important;}
.x-sh .xstr{padding-top:6px; background:none!important;}
.x-sh .xsmr{background:none!important;}
.x-sh .xsbl{padding-left:6px;background:none!important;}
.x-sh .xsbc{background:none!important;}
.x-sh .xsbr{padding-right:6px;background:none!important;}
.xt {background:transparent url(/ajax/tool-sprites.png) no-repeat!important; margin-left:5px!important; margin-top:2px!important;}
.xt-close{background-position:0 0!important;}
.xt-close-over{background-position:-15px 0!important;}
.xt-mini{background-position:0 -15px!important;}
.xt-mini-over{background-position:-15px -15px!important;}
.xt-maxi{background-position:0 -30px!important;}
.xt-maxi-over{background-position:-15px -30px!important;}
.xt-rest{background-position:0 -45px!important;}
.xt-rest-over{background-position:-15px -45px!important;}
.xw-tl {background:url(/ajax/border1.png) repeat-y 0 0!important; padding-left:5px!important; -webkit-border-radius: 5px 0px 0px 0px; -moz-border-radius: 5px 0px 0px 0px; border-radius: 5px 0px 0px 0px;}
.xw-tc {background:url(/ajax/top1.gif) repeat-x 0 0!important; padding: 11px 10px 0px 10px!important;}
.xw-tr {background:url(/ajax/border1.png) repeat-y 100% 0!important; padding-right:5px!important; -webkit-border-radius: 0px 5px 0px 0px; -moz-border-radius: 0px 5px 0px 0px; border-radius: 0px 5px 0px 0px;}
.xw-ml {background:url(/ajax/border1.png) repeat-y 0 0!important; padding-left:5px!important;}
.xw-mr {background:url(/ajax/border1.png) repeat-y 100% 0!important; padding-right:5px!important;}
.xw-bl {background:url(/ajax/border1.png) no-repeat 0 100%!important; padding-left:5px!important; -webkit-border-radius: 0px 0px 0px 5px; -moz-border-radius: 0px 0px 0px 5px; border-radius: 0px 0px 0px 5px;}
.xw-br {background:url(/ajax/border1.png) no-repeat 100% 100%!important;padding-right:5px!important; -webkit-border-radius: 0px 0px 5px 0px; -moz-border-radius: 0px 0px 5px 0px; border-radius: 0px 0px 5px 0px;}
.xw-bc {background:url(/ajax/border1.png) repeat-x 0 100%!important; height:5px!important;}
.xw-hdr-text {padding:0px!important;}
.xw-hdr-text {font: 12px Verdana,Arial,Helvetica, sans-serif!important; color: #bcbcbc!important; text-shadow: 1px 1px 1px #000!important; line-height: 15px!important; vertical-align:2px!important;}
.xw-plain .xw-mc {border: none!important; padding:0!important; margin:0!important; font: 11px Verdana,Arial,Helvetica, sans-serif!important; color:#444!important; background:#000!important;}
.xw-body {padding:0!important; margin:0!important; box-shadow:inset 0px 1px 3px #666; -webkit-box-shadow:inset 0px 1px 3px #666; -moz-box-shadow:inset 0px 1px 3px #666;}
.xw-plain .xw-body{padding: 10px!important; border: none!important;}
.xw-blank {background:#fff!important;}
.myWinTD1 {background:none!important;}


ALL LINKS ARE EXTERNAL LINKS,& FOR PROMOTIONAL USE! PLEASE DONATE!!!
 

DjWiickedDate: Sunday, 19/Feb/2017, 6:15 PM | Message # 3  |🚨
FORUM RANK

-----------------------------------
Messages: 111
Awards: 34
Reputation: 10000
Status: :-)
Awards: 34Loading awards ...
Donation Plans
Is there any way to display informer in Ajax window?

I would like to display the lastest thread in forum in an ajax window rathar than put the informer in forum. It means user click on the link then an ajax window appear with the list of latest thread. I love it display on Ajax than show out as it usual.

Thanks
Sunny

Posts: 9296
Reputation: 456
Message # 2 | 2:27 PM 2013-01-16
Good, yes, it is possible. Add the following script to the necessary template:






1
2
3
4
5
6
7
8
9

replace $MYINF_1$ by your informer code.

And put the following code into the place where you want the button to be displayed:

1
2


ALL LINKS ARE EXTERNAL LINKS,& FOR PROMOTIONAL USE! PLEASE DONATE!!!
 

DjWiickedDate: Sunday, 19/Feb/2017, 6:16 PM | Message # 4  |🚨
FORUM RANK

-----------------------------------
Messages: 111
Awards: 34
Reputation: 10000
Status: :-)
Awards: 34Loading awards ...
Donation Plans
Here's all the properties I know about uCoz's AJAX windows.
modal
Whether content behind the window is dimmed and disabled or not.

close
Whether the window is closable or not.

max
Whether the window is maximizable or not.

resize
Whether the window is resizable or not.

nomove
Decides if the window is movable or not.

shadow
Toggles the shadow of the window.

header
Determines if there is a header on the window or none.

autosize
Automatically sizes the window if the content doesn't fit. It prioritizes resizing the height than the width.

minw, minh
Determines the minimum width and height that a window can have.

maxw, maxh
Determines the maximum width and height that a window can have.

closeonesc
Determines if the window can be closed by pressing the Esc. key or not.

hideonmove
Determines if the content of the window is reloaded everytime the window has been moved or not.


ALL LINKS ARE EXTERNAL LINKS,& FOR PROMOTIONAL USE! PLEASE DONATE!!!
 

DjWiickedDate: Sunday, 19/Feb/2017, 6:50 PM | Message # 5  |🚨
FORUM RANK

-----------------------------------
Messages: 111
Awards: 34
Reputation: 10000
Status: :-)
Awards: 34Loading awards ...
Donation Plans




ALL LINKS ARE EXTERNAL LINKS,& FOR PROMOTIONAL USE! PLEASE DONATE!!!
 

DjWiickedDate: Sunday, 19/Feb/2017, 6:52 PM | Message # 6  |🚨
FORUM RANK

-----------------------------------
Messages: 111
Awards: 34
Reputation: 10000
Status: :-)
Awards: 34Loading awards ...
Donation Plans


ALL LINKS ARE EXTERNAL LINKS,& FOR PROMOTIONAL USE! PLEASE DONATE!!!
 

🎶 242MediaBahamas Digital Media 🎶 » *Reports| *Faqs| *Help Support| *Updates| *Graveyard| » Tech Help| Support Center » ajax window (details)
  • Page 1 of 1
  • 1
Search:
New reply
Name:
Message text:
All smileys
Message options:
Security code: