replace ccs3 function for a js function - when image is clicked, (for gallery) |
replace ccs3 function for a js function - when image is clicked, (for gallery) |
Angie333 |
Jan 21 2014, 02:38 PM
Post
#1
|
Advanced Member Group: Members Posts: 101 Joined: 16-January 14 Member No.: 20,243 |
Hi,
Please programmers help me! I would appreciate it! I found a CSS3 gallery that is quite nice, mostly like it's layout and in IE8 it doesn't look bad at all, but there is a problem. The problem is that obviously IE8 is not compatible with CSS3 function when the image is clicked on ---the result ---> no image appears in the middle of the screen. What I need is for the CSS3 function to be replaced by adding shadowbox.js instead, I do want to keep the CSS3 layout the same as it is. Here is the example of the CSS3 layout with it's current function. http://jsfiddle.net/9vuUQ/ and the link to the shadowbox.js script. https://github.com/mjijackson/shadowbox/blo...ce/shadowbox.js |
Angie333 |
Jan 21 2014, 06:13 PM
Post
#2
|
Advanced Member Group: Members Posts: 101 Joined: 16-January 14 Member No.: 20,243 |
or adding shadowbox.js to start only when a user with an older browser goes into the gallery page?
This post has been edited by Angie333: Jan 21 2014, 06:14 PM |
Christian J |
Jan 21 2014, 09:26 PM
Post
#3
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
You can use Conditional Comments to display different content for older MSIE browsers. See http://quirksmode.org/css/condcom.html
|
Frederiek |
Jan 22 2014, 04:50 AM
Post
#4
|
Programming Fanatic Group: Members Posts: 5,146 Joined: 23-August 06 From: Europe Member No.: 9 |
Or use selectivizr ( http://selectivizr.com ), as Codrops' CSS3-lightbox has a nice touch.
|
Angie333 |
Jan 22 2014, 03:51 PM
Post
#5
|
Advanced Member Group: Members Posts: 101 Joined: 16-January 14 Member No.: 20,243 |
actually I have a better question,how about making a grid image gallery (thumbnails) but is there a javascript function that gives the effect :
***making the thumbnails disappear (hidden) when one image is selected, ***when the image of one of the thumbnails is selected it appears into a bigger image at the center of the page (no pop up) *** option button to go back to the thumbnails grid? This post has been edited by Angie333: Jan 22 2014, 03:52 PM |
jimlongo |
Jan 23 2014, 01:36 AM
Post
#6
|
This is My Life Group: Members Posts: 1,128 Joined: 24-August 06 From: t-dot Member No.: 16 |
try . . .
***jQuery maybe hide() or remove() or removeClass() ***jQuery could start with addClass() ***jQuery on() onClick(), etc., http://api.jquery.com This post has been edited by jimlongo: Jan 23 2014, 01:43 AM |
Angie333 |
Jan 23 2014, 11:59 AM
Post
#7
|
Advanced Member Group: Members Posts: 101 Joined: 16-January 14 Member No.: 20,243 |
I mean something like this
http://sarasoueidan.com/demos/s-gallery/ the problem with this gallery is that is not compatible with IE8 so if there is a way of making a version similar to it but in javascript instead of CSS3 I dont know anything of programming This post has been edited by Angie333: Jan 23 2014, 12:01 PM |
jimlongo |
Jan 23 2014, 12:02 PM
Post
#8
|
This is My Life Group: Members Posts: 1,128 Joined: 24-August 06 From: t-dot Member No.: 16 |
How do you expect to do any of that if you don't know anything about programming? I'm not going to do it for you, maybe you can convince Christian to write it?
|
pandy |
Jan 23 2014, 12:22 PM
Post
#9
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Why not find a JavaScript gallery that fits your needs, or at least close to does that?
|
Christian J |
Jan 23 2014, 12:52 PM
Post
#10
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
maybe you can convince Christian to write it? Sorry, not possible. I suspect it will be hard to find anyone that wants to do it, especially if the only purpose is to support an outdated browser like IE8. (That said, I always thought wide browser support was one of the points with jQuery, so maybe it's possible to use more jQuery instead of the CSS3 parts.) |
Angie333 |
Jan 23 2014, 03:42 PM
Post
#11
|
Advanced Member Group: Members Posts: 101 Joined: 16-January 14 Member No.: 20,243 |
please I just paint programming is like chinese language or even more complicated and who knows it has a gift indeed,please I beg you to help me please, I dont understand anything at all.I would really appreciate it, please I beg you this is very important for me, this gallery for me means everything it's the key to give life introduction to all the work I did in the past 10 years,please
This post has been edited by Angie333: Jan 23 2014, 03:47 PM |
pandy |
Jan 23 2014, 03:46 PM
Post
#12
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Then find a gallery that works in older browsers. It doesn't need to be jQuery and CSS3, you know. In fact, avoiding those two would increase your chances of finding what you want.
|
Angie333 |
Jan 24 2014, 11:19 AM
Post
#13
|
Advanced Member Group: Members Posts: 101 Joined: 16-January 14 Member No.: 20,243 |
I wish it was that easy, looked at all the galleries there are and they are simply plain, some also have loads of errors I can't afford to get a good one (though this particular one doesn't even exist),I really wish I learned programming without so many difficulties,it just doesn't go through and I really tried believe me.
this gallery example link previously posted would have been perfect for 10 years of my work it really gives a real life introduction on the work This post has been edited by Angie333: Jan 24 2014, 11:26 AM |
pandy |
Jan 24 2014, 11:40 AM
Post
#14
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
What's so special with that gallery? I don't see anything unusual.
|
jimlongo |
Jan 24 2014, 11:42 AM
Post
#15
|
This is My Life Group: Members Posts: 1,128 Joined: 24-August 06 From: t-dot Member No.: 16 |
It's a very nice gallery I will admit, I'd use it and forget about IE8. Or write the author and ask how to solve that.
|
Angie333 |
Jan 24 2014, 01:13 PM
Post
#16
|
Advanced Member Group: Members Posts: 101 Joined: 16-January 14 Member No.: 20,243 |
jimlongo , I really wish I could do that just to put it and forget IE8 but the situation is that many people just like me still use XP and cant pay for a newer version of windows 8 and Internet explorer 8 is the last version ever made for windows xp (which is really unfair as if we were obligated to buy a complete new computer and windows). For example I wouldnt care for IE7-6 because they are even more older versions and according to statistics there only a few using it but IE8 still is being used by many... (at least save the last version of the browser for XP, it will take years until a majority will stop using xp)
The author will probably charge for asking I´m really trying to think what to do desperate in this, honestly this is one gallery worth using and I recommend it. If only there is a way around it I really need help please I´m really lost This post has been edited by Angie333: Jan 24 2014, 01:23 PM |
jimlongo |
Jan 24 2014, 01:31 PM
Post
#17
|
This is My Life Group: Members Posts: 1,128 Joined: 24-August 06 From: t-dot Member No.: 16 |
Sure, but it's too much work to expect one of us to do it, it would be harder for us to accomplish than the original author since we are not familiar with the code, and our time is worth as much as hers.
The author might charge, might not if IE8 is as important as you think. |
Angie333 |
Jan 24 2014, 02:55 PM
Post
#18
|
Advanced Member Group: Members Posts: 101 Joined: 16-January 14 Member No.: 20,243 |
I´ll try to ask, let´s see what happens...
I just needed to have a simpler js function without effects that works when it detects an old browser (just to show thumbnails and if one is selected the main image appears and option to go back to thumbnails) honestly even if its simpler for this old browser at least it would work just in case. I´ll write to the author,just hope there will be a solution. |
Frederiek |
Jan 25 2014, 11:40 AM
Post
#19
|
Programming Fanatic Group: Members Posts: 5,146 Joined: 23-August 06 From: Europe Member No.: 9 |
You could also try to add sizzle.js. See http://sizzlejs.com .
|
Christian J |
Jan 25 2014, 11:48 AM
Post
#20
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
many people just like me still use XP and cant pay for a newer version of windows 8 and Internet explorer 8 is the last version ever made for windows xp Apparently Microsoft will stop providing security updates for Win XP in just a few months, so the number of XP users may soon fall sharply. As for updating IE8, you can of course choose any other browser vendor instead (e.g. Firefox). QUOTE as if we were obligated to buy a complete new computer and windows That's what the vendors hope for sure. But if you instead try some free Linux based OS instead (Ubuntu seems popular) you'll both save money and maybe get a faster computer in the process. |
Lo-Fi Version | Time is now: 25th April 2024 - 10:56 AM |