Forum moderator: bigblog  
Coding Requests
Paradox
Old Guard
Posts: 3284
Reputation: 145

Message # 1 | 9:00 AM
Coding Requests


In this thread users of the uCoz system are able to request the development of custom scripts for their sites. Requests are carried out voluntarily by other forum users so please understand not all requests may be completed within a short time-frame or even at all.

About: Posting Requests


If posting a custom scripting requests please include the following;
  • In-depth description. Explain the features, functionality etc.
  • image/example of script already working.

About: Completing Requests


If you have completed a request please use the following template when posting.
Code
Requested By: $USER$
Requested On: $DATE_REQUESTED$

Solution:

$SOLUTION$

Jack of all trades in development, design, strategy.
Working as a Support Engineer.
Been here for 13 years and counting.
Paradox
Old Guard
Posts: 3284
Reputation: 145

Message # 16 | 4:40 AM
Quote (DanielM)
Why do i bother no ones going to answer because this forum is dead :/


No, this forum is not entirely dead as such. There are quite a few of us here. We just don't always have the time to make up a code for every user who asks for one here on the forums, in some cases it may not be our area of expertise either. wink

Quote (Paradox)
Requests are carried out voluntarily by other forum users so please understand not all requests may be completed within a short time-frame or even at all.

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

Message # 17 | 9:14 AM
DanielM, I guess this is what you need: http://forum.ucoz.com/forum/37-6267-34612-16-1247147942
I'm not active on the forum anymore. Please contact other forum staff.
FOF
Posts: 19
Reputation: 0

Message # 18 | 0:30 AM
Hello. I am making a new we page and i am only using "photo albums" option. And i am thinking if someone could help me to build a code which load a new page when you have scrolled down to the bottom. Like 9gag.

Look, the first pages link - http://tavaidienai.ucoz.com/photo/0-1-0-16-1
Second pages link - http://tavaidienai.ucoz.com/photo/0-2-0-16-1
Third pages link - http://tavaidienai.ucoz.com/photo/0-3-0-16-1
and so on. All i need is to get those pages content $BODY$ show in exact page without loading a new one. New page opens when you are scrolling down with the mouse.

I really need this script and i know that it is possible cause i am totally sure that i have seen it already working in ucoz system just don`t remember where.

Big thanks!
Eriko
Pokémon Master
Posts: 962
Reputation: 34

Message # 19 | 4:23 AM
Sunny, can I have a code like this for guestbook? If so, can you do the honors? I really don't get how this script works.

Code
<span class="lenta">$BODY$</span>    
<div id="ShowMore" pagenum="1"></div>    
<div id="more1"></div>    
<script type="text/javascript">    
$(window).scroll(function(){    
if ($(document).height() - $(window).height() <= $(window).scrollTop() + 50) {    
var $showclick = $('#ShowMore').attr('pagenum');    
$('#more'+$showclick).after('<div id="more'+(parseInt($showclick)+1)+'"></div>');    
$showclick++;    
$('#more'+$showclick).load('$MODULE_URL$0'+'-'+$showclick+' .lenta');    
$('#ShowMore').attr('pagenum',parseInt($showclick));    
return false;    
} };)    
</script>
Mar1aN
Posts: 192
Reputation: 3

Message # 20 | 7:52 AM
Hi, can you please give me a script for file catalog that can lead me from an entry to the next/previous entry?
I fount a script on this forum but he dosen't work completly, i can go just one time to the next(or previous) entry.
example:
now i can't go to the previous «Previous entry RANDOM ENTRY next entry» now i can't go to the next entry
This is the script:
Code
<div id="pages"></div>     
    <script>     
    a=location.href;     
    b=a.split('-');     
    c=b.length;     
    d=eval(c-1);     
    e=b[d];     
    f=a.split('-'+e)[0];     
    $('#pages').html('<a id="b" href="'+f+'-'+eval(e-1)+'">Previous</a><span id="i"> | </span><a id="a" href="'+f+'-'+eval(e*1+1)+'">Next</a>');     
    $.ajax({     
    type: 'GET',     
    url: f+'-'+eval(e*1+1),     
    error: function(){$('#a, #i').hide();}     
    });     
    $.ajax({     
    type: 'GET',     
    url: f+'-'+eval(e-1),     
    error: function(){$('#b, #i').hide();}     
    });     
    </script>

Paradox
Old Guard
Posts: 3284
Reputation: 145

Message # 21 | 9:33 AM
Mar1aN, please change your signature, it is too high. Signatures should be a maximum of 3 lines in total height.
Jack of all trades in development, design, strategy.
Working as a Support Engineer.
Been here for 13 years and counting.
Mar1aN
Posts: 192
Reputation: 3

Message # 22 | 3:36 PM
Superstar
Posts: 49
Reputation: -1

Message # 23 | 10:12 PM
Submenu Styling HELP (REQUEST)

Hey everyone! I've got a problem with editing the style of submenu. Actually, on this site (under "Blog" in horizontal menu), the submenu appears to be light blue and I want to edit it's style to make the whole submenu using a background image.

e.g I'd love to transfor this into this (just an example)

The problem now is, I never worked with a horizontal/vertical submenu so I got no idea how to do it. If anyone is able to help me, please do it.
Sunny
Posts: 9296
Reputation: 456

Message # 24 | 10:26 AM
Superstar, you can find the decsription of the submenu styles in the following thread: http://forum.ucoz.com/forum/38-11050-1
I'm not active on the forum anymore. Please contact other forum staff.
monk1900
Posts: 1
Reputation: 0

Message # 25 | 8:37 PM
(REQUEST)

Hi!

I need a code that can change itself depending on the URL.

I want in the center of the page to be a button "Click here". I want if the URL address is mysite.com/file.html?google.com the button to redirect to google.com

Sorry if I have mistakes, but I'm not from an English-speaking country.
Superstar
Posts: 49
Reputation: -1

Message # 26 | 8:52 PM
Sunny, Unfortunately, the #uMenuDiv's won't work. It still remains as it is
DizBaz
Posts: 2
Reputation: 0

Message # 27 | 5:11 AM
Quote Superstar ()
Sunny, Unfortunately, the #uMenuDiv's won't work. It still remains as it is

Try to put "!important" after like this ex
Code
#blabla {background:#444 !important;}
Post edited by DizBaz - Saturday, 2014-02-15, 5:12 AM
Mar1aN
Posts: 192
Reputation: 3

Message # 28 | 6:54 PM
Don't know why my script does not work on entries that are open with auto load pages script.

This is my script:
Code

<img src="/image.jpg" id="pic$ID$" onclick="change$ID$()"/>
         <img id="second$ID$" src="$RFILE_DIRECT_URL$" style="display:none;"/>
         <img id="first$ID$" src="/imagine.jpg" style="display:none;"/>
js
function change$ID$()
{
        var imag = document.getElementById('pic$ID$').src;
        var img = imag.slice(-3);
        var img1 = document.getElementById('second$ID$').src;
        var imag2 = document.getElementById('first$ID$').src;
            
        if(img == 'gif') {
     document.getElementById('pic$ID$').src=imag2;
        } else {
     document.getElementById('pic$ID$').src=img1;
        }
        }    


And this is the script with that loads new pages automatically http://www.jmblog.ru/todownload/JMpagesList1.14v.js

Those scripts are on www.2lol.ro/photo

Post edited by Mar1aN - Friday, 2014-03-07, 7:14 PM
Haider
Posts: 50
Reputation: 0

Message # 29 | 7:22 AM
Hi
The horizontal menu on my site look like this



But I want it to be in buttons like this



Can anybody help me?
Attachments: 4293592.png (2.8 Kb) · 9986624.png (2.1 Kb)

Post edited by Haider - Saturday, 2014-03-08, 7:22 AM
VZ
Posts: 189
Reputation: 3

Message # 30 | 4:03 AM
Quote Haider ()
Hi
The horizontal menu on my site look like this

But I want it to be in buttons like this

Can anybody help me?
Attachments: 4293592.png(3Kb) · 9986624.png(2Kb)
1-GameZ Inn - Free Online Games
2-My Uid page

Its simple use CSS
Heres an example.
Code
.navbar {
color:#ccc;
background:#333;
}
.navbar a:hover {
color:#fff;
background:green;
}

Hit that "Thanks" button. :)
In life there's ALWAYS limits but do not plan above them.
Search: