• Page 1 of 1
  • 1
uCoz Community » Additional Services » Account Management » CODE Not Work
CODE Not Work
Abdullah
Posts: 14
Reputation: 0

Message # 1 | 6:59 PM
This CODE $IMGS_ARRAY_JS$ doesn't work !! WHY
Post edited by Abdullah - Monday, 2014-12-29, 6:59 PM
joexyz
JOE-vascript
Posts: 1770
Reputation: 78

Message # 2 | 7:09 PM
Abdullah, please, tell us, what is your site's URL address (a full entry URL will be more better).
hey i'm joe and i do not work for the company anymore, please contact other staff or tech support
icon by ch-chau

sometimes i lurk here
Abdullah
Posts: 14
Reputation: 0

Message # 3 | 7:39 PM
THIS: http://ainjalut.ucoz.com/
I added The code , but nothing shows

look here:
Attachments: 4768936.jpg (93.3 Kb)
Post edited by Abdullah - Monday, 2014-12-29, 7:39 PM
joexyz
JOE-vascript
Posts: 1770
Reputation: 78

Message # 4 | 7:52 PM
Abdullah, please, give me a full entry URL.
hey i'm joe and i do not work for the company anymore, please contact other staff or tech support
icon by ch-chau

sometimes i lurk here
Abdullah
Posts: 14
Reputation: 0

Message # 5 | 8:07 PM
It's Not Work In All "Appearance of entries"

Added (2014-12-29, 8:07 PM)
---------------------------------------------
Look This: http://ainjalut.ucoz.com/news/tgrbt/2014-12-29-57

joexyz
JOE-vascript
Posts: 1770
Reputation: 78

Message # 6 | 8:24 PM
Abdullah, did you uploaded images? $IMGS_ARRAY_JS$ shows the list of the images in a JavaScript array.
hey i'm joe and i do not work for the company anymore, please contact other staff or tech support
icon by ch-chau

sometimes i lurk here
Abdullah
Posts: 14
Reputation: 0

Message # 7 | 8:30 PM
Yes, I already uploaded images !

Added (2014-12-29, 8:30 PM)
---------------------------------------------
Please give me an example of this code when it works !!
Post edited by Abdullah - Monday, 2014-12-29, 8:44 PM
Xayaan
Posts: 558
Reputation: 13

Message # 8 | 9:42 AM
Abdullah, Exactly which module did you upload the images to? This module does not work in forum section.
My Skype : xayan123 | My Twitter : @Officialxayaan
uID : - Zayaan Ibrahim | Need a professional design? Check out my Portfolio
Abdullah
Posts: 14
Reputation: 0

Message # 9 | 2:09 PM
Xayaan, in Site News !!!
Good
Posts: 360
Reputation: 12

Message # 10 | 4:56 AM
$IMGS_ARRAY_JS$

How this code work? I can not display the images. Could you please help to check? I already uploaded the photo and put the code in template.

Testing URL.

http://batdongsan.ucoz.com/publ....?l68Jup
Sunny
Posts: 9296
Reputation: 456

Message # 11 | 12:45 PM
Good, for the code to work you also need a JavaScript code. You can see the sample in the Online Games module.
I'm not active on the forum anymore. Please contact other forum staff.
Good
Posts: 360
Reputation: 12

Message # 12 | 3:52 PM
Is there anyway to display the attached images the same as $NEAR_PHOTOS$ in photo album? Since online game module only shows up randomly one photo in a series of photos then we have to click on next or previous button to view them all. Thanks! smile
Øwãís
Posts: 22
Reputation: 0

Message # 13 | 7:38 PM
Below script is correct or wrong...?

Code
$IMGS_ARRAY_JS$
<script type="text/javascript">
function _bldCont(indx){
var bck=indx-1;var nxt=indx+1;
if (bck<0){bck = allEntImgs$ID$.length-1;}
if (nxt>=allEntImgs$ID$.length){nxt=0;}
var imgs='';
for (var i=0;i<allEntImgs$ID$.length;i++){var img=i+1;
if(allEntImgs$ID$[i][0].length<1){continue;}
if (i==indx){imgs += '<b class="pgSwchA">'+img+'</b> ';}
else {imgs += '<a class="pgSwch" href="javascript://" rel="nofollow" onclick="_bldCont('+i+');return false;">'+img+'</a> ';}
}
if (allEntImgs$ID$.length>1){imgs = '<a class="pgSwch" href="javascript://" rel="nofollow" onclick="_bldCont('+bck+');return false;">« Back</a> '+imgs+'<a class="pgSwch" href="javascript://" rel="nofollow" onclick="_bldCont('+nxt+');return false;">Next »</a> ';}
var hght = parseInt(allEntImgs$ID$[indx][2]); if ($.browser.msie) { hght += 28; };
_picsCont = '<div id="_prCont" style="position:relative;width:' + allEntImgs$ID$[indx][1] + 'px;height:' + hght.toString() + 'px;"><img alt="" border="0" width="' + allEntImgs$ID$[indx][1] + '" height="' + allEntImgs$ID$[indx][2] + '" src="' + allEntImgs$ID$[indx][0] + '"/><div align="center" style="padding:8px 0 5px 0;">'+imgs+'</div></div>';
new _uWnd('wnd_prv',"Screenshots",10,10,{popup:1,waitimages:300000,autosizewidth:1,hideonresize:1,autosize:1,fadetype:1,align:'center',min:0,max:0,resize:1},_picsCont);
}
</script>


Used this script on file catalog full post text page. But not working

Images are already uploaded

Post link: http://olatrial.at.ua/load/test/1-1-0-5

Added (2017-02-27, 1:23 PM)
---------------------------------------------
Post link: http://olatrial.at.ua/load/my_files/test/1-1-0-6

Added (2017-02-28, 7:38 PM)
---------------------------------------------
Can someone answer this question...??

joexyz
JOE-vascript
Posts: 1770
Reputation: 78

Message # 14 | 4:23 PM
Øwãís, what exactly do you want to accomplish using that code? Also, where did you get the code from?
hey i'm joe and i do not work for the company anymore, please contact other staff or tech support
icon by ch-chau

sometimes i lurk here
uCoz Community » Additional Services » Account Management » CODE Not Work
  • Page 1 of 1
  • 1
Search: