Jump to content

Recommended Posts

Have a look at http://www.truro.com. The homepage graphic can change depending on the image (below it) that you click.

 

All well so-far using PHP.

 

I want the arrows on the right and left to be able to scroll the images left and right. The rest of the functionality seems to be there, so I wondered whether I should use PHP or CSS?

 

I don't really want to load all of the thumbnails in one go because eventually that'll take AGES! we already have 12, and it's only been online since this morning!

 

Any advice would be welcome.

Link to comment
https://forums.phpfreaks.com/topic/266348-is-it-css-or-php/
Share on other sites

Oh brilliant. (That was sarcasm - I'm pants at Javascript)...

Well I can make do with hacking it about.

 

Any suggestions where to start looking? I've had a squizz at Dynamic drive, but nothing I really like much.

 

Perhaps an Ajax script might be quite handy...

Then I could load one image either side, us javascript to do an ajax load and smoothly transition in either direction. Does that sound theoretically possible?

Link to comment
https://forums.phpfreaks.com/topic/266348-is-it-css-or-php/#findComment-1364934
Share on other sites

*lol* @ Adam.

 

I'll check out JQuery. It's not like I'm a total numpty, but JavaScript isn't my strongest tool in the box. Sometimes it's necessary and whenever it is, I tend to cringe a little - depending on what's required. Most of the time I can bodge something together.

 

Thanks guys.

Link to comment
https://forums.phpfreaks.com/topic/266348-is-it-css-or-php/#findComment-1364977
Share on other sites

I have a strong disgust for all things javascript - i really do.  But, users of the interwebz have become accustomed to the flair JS adds to your site and neglecting that is well... don't.  jQuery has made JS dumbingly easy if you have any sort of logical / programmatic understanding.  When you need a push in the right direction, there are a million resources out there to guide the way.

Link to comment
https://forums.phpfreaks.com/topic/266348-is-it-css-or-php/#findComment-1364989
Share on other sites

I have a strong disgust for all things javascript - i really do.

 

Really? I think JavaScript is one of the most elegant and flexible languages around, and with technologies like Node.js and frameworks such as Backbone.js becoming more and more prevalent, JavaScript really is the must know language for all web developers.

Link to comment
https://forums.phpfreaks.com/topic/266348-is-it-css-or-php/#findComment-1364995
Share on other sites

I think JavaScript is one of the most elegant and flexible languages around, and with technologies like Node.js and frameworks such as Backbone.js becoming more and more prevalent, JavaScript really is the must know language for all web developers.

 

Well yes, these days the web is more of an interactive application than the old stateless web of the past.  in the modern era of "web 2.0" and the expectations of developers and designers alike to be able to use javascript to bring a rich experience without relying on applets or flash, it truly is a must.

Link to comment
https://forums.phpfreaks.com/topic/266348-is-it-css-or-php/#findComment-1365206
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.