I am having a problem where occasionally two of the same images will load up, one on top of the other so both are showing. This only happens on the first image that loads up and is very intermittent. Has anyone else run into this problem using thickbox? Does anyone know how to fix it? Thanks
I know this is an old question, but I had the same problem and just solved it.
We had multiple galleries on one page, all seperated by the rel='' tag to group them.
We ran into the "two images on first click" problem as well.
Our php code was not smart enough to realize it was including the javascript more than once. So by only including the .js files once on the page, the problem was solved.
Maybe this is not a solution for you but it worked for us so I thougt I'd share.
Related
I'm running into an odd problem on my Wordpress site ( www.ez007.net). My most recent posts don't finish loading properly. The last two pieces that usually load on my page is the green vote buttons and the text in the right sidebar. But for some reason the page stops loading and these elements stay unloaded. Images below to explain
An older good post, you can see the red and green vote buttons are working and the text in the right hand sidebars looks clean:
One of the newer posts with issues, see the red and green vote button are not showing and the text in the right hand sidebar is all ski-whiff:
This only occurs on the last 10 or so posts on my website, and I made no changes to code or anything else when this started occurring.
It's really hard to explain and I can't even begin to understand how I can start troubleshooting this issue.
Any help would be amazing, I'll add the HTML output from both pages. Please let me know what else is needed? Thanks.
I realize there are errors in the code but I'm in the process of working those out, and the theme was working fine for a number of weeks before this issue started occurring.
The problem lies in a missing CSS file on the templates with the issue - on the home page the following CSS file is referenced :
http://www.ez007.net/FreeSamplesAustraliaByMailOnly/wp-content/plugins/wordpress-popular-posts/style/wpp.css?ver=3.3.4
The link tag for this CSS file is missing on this page:
You've probably got to fix that wherever your wp_enqueue_style() calls for that particular template are made.
The reason the issue is occuring:
The wpp.css file contains the rules for the class wpp-thumbnail this class applies display: inline and float: left to the thumbnail image which is what lets the description text sit to the right of the image.
I am making a magento webshop, but i have run into some problems with the theme i am using.
I bought it on themeforest, and i have asked the developer for help, but it takes ages for them to answer and come with a real solution to fix the problems, so now i am seeing if someone here can help me solve the problem.
The webshop: http://new.webhipster.dk/index.php/home-left
When i add items to basket ("Læg i kurv"), it only works on the front page (the link listed above). When i go to another page, it won't add the item to basket. (e.g. http://new.webhipster.dk/index.php/roedvin.html)
So my guess is that there is a corrupt js file, but what i don't understand is, that it is the same code which is generated in header on both pages - but still it doesn't work on any other page but the frontpage.
How do i figure out what js file is corrupt and isn't loaded properly?
I have gone trough each one to see if they load, and it seems like they all load exactly like they do on the frontpage.
I guess you are missing a library required for it or might be css. As error in your console window say that it could not found css property.
Because when I tried accessing url directly from browser it's adding items into cart
For Example you are calling -
setLocation('http://new.webhipster.dk/index.php/checkout/cart/add/uenc/aHR0cDovL25ldy53ZWJoaXBzdGVyLmRrL2luZGV4LnBocC9ob21lLWxlZnQ,/product/2/form_key/1Tfx79G6V33Q7l2Q/')
Now try accessing it from the url something like
http://new.webhipster.dk/index.php/checkout/cart/add/uenc/aHR0cDovL25ldy53ZWJoaXBzdGVyLmRrL2luZGV4LnBocC9ob21lLWxlZnQ,/product/2/form_key/1Tfx79G6V33Q7l2Q/
and this will add item in your cart.
Now you debugging should start from function setLocation(). Try doing file search for setLocation function. and check where it is failing.
Hope this will help you atleast for debugging.
I have a website that wasn't developed by me, it is a wordpress theme and I'm not sure how to do this, as I need to change the code.
The theme comes with one carousel on the homepage called from a php template part. What I need is to have two carousels instead of one.
This is the site: http://tehar.com.br/
As you guys can see, the website is actually with two carousels but they are not working, since I guess the usage of both in the same time causes the javascript to conflict.
I wasn't able to find any javascript call on the page file, and even the .js file that handles the carousel.
Any guess of what to do? I really don't have any clue on what to do.
Thanks!
I have tried to place the slider on every page on this website: http://atripathi.com
It works on the homepage, but doesn't work on any of the other pages (About, Services, etc.)
I know it's probably an easy fix, but I can't get it at the moment.
Thank you for any help or suggestions!
Looks like the original suggestion above is correct. I'm seeing slider javascript includes at the top of your homepage that aren't on the other pages.
Generally, a good way of troubleshooting is to make copies of both pages, index-c.php and about-c.php perhaps, and start removing everything that isn't pertinent to the trouble you're having (other HTML, css includes, etc.) until you get down to only the slider on the page. Once you've done that, you might notice that the one page is slightly different than the other, making it work. You can copy back and forth until it does.
The other possibility is that there's a relative path problem somewhere, because your one page is inside a folder (though I'm guessing you have a .htaccess redirect to a root folder page)? So if all else fails, move the reduced about-c.php to the root folder and see if that then works. If so, you know it's a path problem.
Hope these suggestions help.
I see that jQuery is being included on all your pages but the cycle plugin is only included on the home page. You should be able to update your template(s) to fix this.
I have a web page
http://www.maryveale.com/sculpture/index.html
that loads a js at /media/js/bill-studio.js
that causes the following problem.
When the web page is loaded there are some images shown.
Clicking on the first image should open the page /sculpture/1986/index.html
and it does if you right click open in new window, however, by clicking on it it doesn't.
There is something in the js that stops the click working.
Can anyone help me remove it!
Thanks a gabillion!
Bill
I think it's probably this line:
studio.show_image(a)}return false});
or if not, it's one of those return false lines you've got in your script. Have a little play with removing the return statements and see what happens, and you might get a better idea of how your script is working.
Try leaving out the slash preceding each directory name in the .
Just a thought on first glance, unless you've tried that already.