This one's for Eric! - Post ID 225721

User 2147626 Photo


Ambassador
2,958 posts

Did I miss it? Or is there no contact option on your ProGrower website?

I'm using your jquery full background slider and was just wondering, every time I go to a new page the slider starts over. Is there a way to get the slider to continue from where it was? Or does it have to start over?
Graphics for the web, email, blogs and more!
-------------------------------------
https://sadduck.com
User 187934 Photo


Senior Advisor
20,265 posts

Are you saying when you go from page to page?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2147626 Photo


Ambassador
2,958 posts

Yep. You can see it from the site in my sig. Every time you go to a new page, the slider starts over with the first slide. No big deal, just wondering if there was a way to get it to continue from where it was instead of starting over.
Graphics for the web, email, blogs and more!
-------------------------------------
https://sadduck.com
User 187934 Photo


Senior Advisor
20,265 posts

You probably need to use cookies to do this, and I'm not talking chocolate chip.:lol:
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2147626 Photo


Ambassador
2,958 posts

That sounds like code. I have no idea how to implement or use cookies. Can you clue me in? All I want is for the backgrounds to continue from where they left off when the page changes.
Graphics for the web, email, blogs and more!
-------------------------------------
https://sadduck.com
User 2147626 Photo


Ambassador
2,958 posts

Tell you what, is there a way to randomize how the background pics are loaded into the system? Rather than using cookies? That way when you change pages you shouldn't get the same display pattern. (Oatmeal/Raisin are for me!)
Graphics for the web, email, blogs and more!
-------------------------------------
https://sadduck.com
User 1948478 Photo


Senior Advisor
1,850 posts

Gunsmoke,

How about a simple html solution - thereby avoiding cookies and scripts and all those complications (:D) - maybe like this:

Instead of placing your page content in separate html files, put all the content in a single-file 'super page', one 'original page' after the other, vertically. Then place an anchor at the upper left of each of your original pages and link to these anchors in your menu. Now, when you click on a menu item, instead of going to a new html file, the single-file site will simply - and invisibly - 'scroll' to a new location on the same page, where the fixed-location sequence of background images remains the same and unbroken throughout.

I've never done this, but it seems like an interesting little project to try! ;)

EDIT: I forgot that you are using VSD! Although this kind of thing would be very simple in the Editor, it may cause all kinds of difficulties in VSD ??
I wouldn't know since I've never used VSD...
User 603315 Photo


Registered User
938 posts

Gunsmoke wrote:
Tell you what, is there a way to randomize how the background pics are loaded into the system? Rather than using cookies? That way when you change pages you shouldn't get the same display pattern. (Oatmeal/Raisin are for me!)


I like Per have never used VSD so can't you edit code in VSD? I'm not actually sure whether using cookies would help to be honest, cookies are for when you go back to a site etc and they are annoying little things to program. Your idea of randomizing images I feel is the best way round that, but then you would have to put images into variables and use Math.random() function is one way to do it. Definitely worth it if you were keeping the same layout but if your going to change it soon not worth the hassle. If you can't edit in VSD you would need to do it on the fly.
User 38401 Photo


Senior Advisor
10,951 posts

Nope can't edit the files from VSD outside of the program G'Kar, it doesn't have any kind of import capabilities so all has to be done inside or never inside again if you d it outside.

@Eric & Gunsmoke: Have you checked the settings of the slider you're using? Many and of them give an option for a random viewing of the images rather than in a specific order so you may be able to just change a setting. If so you can just do that for each of your galleries on the pages and it will all be different then. If not, dunno what to tell you, find a slider that does? I know there are some that do.

.... Just went and checked and Wow Slider definitely has a Random order setting so you may want to look into something like that. Hope that helps :)
User 2147626 Photo


Ambassador
2,958 posts

I'm using the jquery slider from Erics page because it shows the slider at the full background size, no matter the size. Not sure WOW will do that. I'm looking into options. Thanks for all the input. I really don't want to edit the code outside VSD. I can input HTML box to add code to VSD and edit that (inside VSD). Like I said, looking into options.

What I want this for is actually not my site. My sister is an author and has published several books. I'd like to randomly rotate the the background on her site to show the various covers of her books.

BTW Jo Ann, love the new little avatar! :D
Graphics for the web, email, blogs and more!
-------------------------------------
https://sadduck.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.