If you need support from Yola please contact us via support@yola.com or make use of our live chat service! We are working on a new approach to community-based support and during this transition period we are not adding any new threads to this forum. Many thanks to everyone who has participated over the years and we look forward to unveiling a new peer-to-peer support system soon!

April Code Requests. I know, kinda late.

I'm a little late this month but I would like you guys to request some needed codes that you can't find on the web.

About: Hello i'm Shawn, a lot of people don't know this might i'm actually 14. I just wanted you guys to know that. Even though i'm only 14 i'm one of the most experienced JavaScript developer on this forum. Every month I make a new post about code requests. You can request to have me make you a script for whatever you. It's not guaranteed that I can make either because it might take too long to make or I just can't make it because it is not made in JavaScript. It might also be a little too advanced for me. I mean, I've been only using JavaScript for about 1 and a half years.

You can then place this in prominent point in your site, with the link reading "First Time User?". You can always create an image which says this, if you wanted it to look a bit more fancy / attract attention.

You can create a pop up window that will pop up automatically when you visit the site, however the danger is once the person who visits their site clears their history, the pop up will show up again.

Anyway many people such as myself, have pop up blockers installed, which means they wouldn't be able to see it anyway. My advice would be to use a lightbox instead. If you're not familiar with a light-box, when in Yola Sitebuilder and you click "Preview" a lightbox is what the preview displays in).

I share my music for download on my site, and up until now i've just been using Yola's "File" widget, because it's quick and easy. However this means that people have to right click and select "Save Target As" to download. Would there be a way to change this to a single left click to download?

Also is there a code which would allow me to keep using the "File" widget (where it would basically apply the one click download to all files by default) or will I have to stop using that and start using HTML tags for each file?

Well here's my page where I'm sharing.
http://eyeshalfclosed.yolasite.com/
Scroll to the bottom and you'll see all the files - and as you can see I've had to put instructions there to right click and "save as" to download, because people were coming to me confused with how to do it. Which is why I'd like to make it one left click download.

No. it should automatically Unzip on download and display with the appropriate application. It's a function of recent browsers I think. You can put mp3 files in a zip file for this purpose. They won't compress significantly but will be seen as a zipped file.

Edit the page where you want the link and add a standard anchor link to the zip file.
<a href="resources/{optional-folder}/mp3.zip">Download the mp3 file</a>

Tips:
Most operating systems have some compression software built in. If yours doesn't, you can look up "zip files" in a search engine to find a program to build them for you.
You can use this technique for images, movies, music, and documents as well as PDF files. Anything you can compress as a zip file you can post to your site for download.

''Ok, would like one last thing, I'd quite like a code to create something similar to the badge tab at the top of my site (www.sssgamingleagues.co.uk) for my other sites to use as a link back to the main site.''

''Shawn Holman 7 days ago
So you want that same looking bar but you want me to make it so other sites can embed it onto their site? You want them to have that whole bar on there site?

Thanks for explaining,
Shawn''

''samphillips97 7 days ago
I'd like a version of the tab with the text 'badges' at the top of the page for my other site, with the text 'return to main site' and a link to the page I'd like.''

No worries, ideally yes, looking the same but if that's not possible then don't worry, I'd like it on the other side of screen and linked to my main site, would it be possible for me to edit the link if necessary at a later date?

Hey, I've been searching everywhere for this code but can't find it anywhere or its not accurate. I was wondering if you could make a HTML code that makes an image change based on the time of day "Morning, Afternoon, and Night" so 3 images. Is that possible? That's please resound

You will need to rename each of the images to "afternoon.jpg", "night.jpg" and "morning.jpg" (if the extension if .gif or .png, don't change the extension only the name before the dot, and you can set the extension in the code below). Once you have done that, make sure you have them uploaded in your file manager and just drag over an HTML widget and paste this into it at the top of your page:

Add the code that Shawn pasted above somewhere in the page (where you want the image to display) and the longer code at the top of your page (this way if you ever need to add it again within that same page, you don't use that same long code because it will be re-linking to jQuery and redefining the JavaScript variables if you were to add the same long code multiple times on the page).

In each of the parts of the long code, just put everything that is before the ".jpg" for the image name.

I can modify the code for you if you don't want to upload the images to your file manager, but it is considered band width theft when you link to another server's image (unless they say they allow it) because each time you visit your site it goes to their server to receive the image, therefore it takes some of their bandwidth.

It's only if it's the image address. If you save it, it's completely fine because it is hosted on your account. :)

You can use the first code I posted if you name them each as morning.jpg, afternoon.jpg, and night.jpg and put them in the file manager (you won't have to modify the code if you name them each as that).

Do you mean when it is for example the morning it will only show up sometimes when you go to the page but not every time (and the same for afternoon, night)? I can make that. Just confirm that that is what you want. :)

Just place this code in an HTML widget where you want the image, and change the variable "src" value to the image you want... if it's in your file manager put "resources/image.jpg" (replacing image.jpg with the actual image name).

Ok, since you know how to picture shows up randomly and I won't be able to know if the code is working or not because it shows up randomly. Here's what I did could you just make sure its right so I know it will be working:

Yep, that's right. If you keep refreshing the page, you'll see it after a few refreshes or so, but if you refresh it again it will be gone, it is a random thing (as you can see there are 2 random numbers) and it compares it to see if rand1 is greater than rand2, and if it is then it shows it (the "if" statement).

That's weird - you don't have it wrapped in pre tags right? I see at the end it says "</pre>" but I'm sure that's just because you didn't end the pre tag properly (HTML tags can be modeled as "1221" because if you start a tag it needs to end before a surrounding tag ends, so for example: <span><div>Hello!</div></span>)

Have either/both of you had any experience with Boxslider? The installation and functional options work straight off the site. The problem is the styling. Things like Prev and Next buttons, pager indicators are all well displayed on various demos (a lot of them) but there is no instruction and I don't understand the styling aspects of it at all. I know it's for people who have more than basic skills with JQuery and I have none.

If you have the experience and interest with this could you let me know if you would be prepared to look at some styling aspects. If so I will give you the references that I have found. If not or you are too busy then it's not an issue at all.

Yes. Looking into their actual source. They just simple made there own. They changed the settings to auto controls so they could do their own control. Very stupid. I recommend you find a new jQuery plugin to use.

please i have so many clips on my video page. i want my video page to be like this, when any site visitor clicks on any video he/she wants watch, it should be able to enlarge up and centralize automatically so that the video can be watched properly and conviniently and the rest of the videos go small and down below the video that's been selected to be watched by the site visitor. please who knows how i could do this?? Thanks! want it be something like this>>>>>

I can do this. But this is something that I would need to install for you. Since I would need a lot more coding for this. I would need to access your site builder and it would be a process that would take more than one day.

I currently have the countryside premium style but I actually like the emboutiellage free style in brown. I have a premuim style in order to have the horizontal dropdown submenus. I am tryin to get my website to look just like this emboutiellage css style but in brown that's on this website: http://www.coeymansfire.com/. Therefore, I copied the emboutiellage Site CSS appearing below and pasted it into the countryside premium style css. Where in the language below do I add the CSS codes to make the horizontal dropdown submenus appear?

1. Dont blame yola unless you have it working on another site. If you do show me the link.
2. Not sure how the transitions are suppose to look
3. You have no HTML at all not even surrounding the CSS so of course it wont show.
4. There is no javascript, so you couldn't make it Show (if it is hidden) or you can't make it show.

Please give me more information. The code you posted is just CSS. That just styles everything, you need HTML to actually make stuff display and you need JavaScript to make everything functional.

I am wanting to add a pop up window onto my site to promote what products we have for the Christmas season. I am not Computer savvy and have managed to do things on my site by just clicking on random stuff lol so a step by step on how to do this would be great!

I was told you may know how to create some sort of algorithm to shuffle profiles. My goal is when you go to my page http://www.jones4fitness.com/personal... you will see a different trainer appear at the top. My goal being to get equal exposure for them. Let me know if you can help