[Solved]Problems with a website I'm making
3 posts
• Page 1 of 1
[Solved]Problems with a website I'm making
So basically I know very little to none Javascript, and have some problems with how various things work, and what is wrong with it I don't really know how to fix or what is causing it, so I need some help!
Thanks in advance!
____________________________________________________________________________________________
BUGS:
- Upon loading the page in Chrome the picture is already set to the size which it is supposed to be when you click it, and then it scales down.
- After clicking the image in Chrome and then clicking it again to close it sometimes gives it a (what seems to be) random location, width and height (random being within the original width, height and location and what the hover version is set to.)
- The text that is supposed to be shown in the text-box next to the scaled picture in shown at the bottom of the page (Firefox, Opera and Chrome), but when the picture is clicked it disappears even though from the beginning the display is set to none.
- The background picture is much higher up in Opera and Firefox than in Chrome.
- The animation for when the picture is exited doesn’t work in Opera and Firefox.
____________________________________________________________________________________________
The code itself is probably very (very, very) bad, but as I go to the other sub categories (Opera and Firefox) you can scroll down the page even though all the elements are set to be at the top of the page, basically where everything visible is (I used the position relative and basically positioned everything with that, if there is a easier way of doing this please let me know).
At the moment it is only the blue picture that is supposed to change as it is clicked on, but I plan to of course have the rest of them do the same and that is where a problem occurs since I have a div tag holding the text that appear next to the scaled image, but if I in that case click on another image it would bring up the same div tag having the same text, only to a different picture. So is there a easy way to change the divs content without having multiple divs?
----------------------------------------------------------------------------------------------------
Thanks in advance!
____________________________________________________________________________________________
BUGS:
- Upon loading the page in Chrome the picture is already set to the size which it is supposed to be when you click it, and then it scales down.
- After clicking the image in Chrome and then clicking it again to close it sometimes gives it a (what seems to be) random location, width and height (random being within the original width, height and location and what the hover version is set to.)
- The text that is supposed to be shown in the text-box next to the scaled picture in shown at the bottom of the page (Firefox, Opera and Chrome), but when the picture is clicked it disappears even though from the beginning the display is set to none.
- The background picture is much higher up in Opera and Firefox than in Chrome.
- The animation for when the picture is exited doesn’t work in Opera and Firefox.
____________________________________________________________________________________________
The code itself is probably very (very, very) bad, but as I go to the other sub categories (Opera and Firefox) you can scroll down the page even though all the elements are set to be at the top of the page, basically where everything visible is (I used the position relative and basically positioned everything with that, if there is a easier way of doing this please let me know).
At the moment it is only the blue picture that is supposed to change as it is clicked on, but I plan to of course have the rest of them do the same and that is where a problem occurs since I have a div tag holding the text that appear next to the scaled image, but if I in that case click on another image it would bring up the same div tag having the same text, only to a different picture. So is there a easy way to change the divs content without having multiple divs?
----------------------------------------------------------------------------------------------------
Last edited by Copopit on Tue Apr 24, 2012 9:45 am, edited 2 times in total.
Re: Problems with a website I'm making
Well good that you figured it out on your own, cuz I have no idea how to fix any of that >.<
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests
