aaranmcguire said
ace2296 saidJust to let you know Java and Javascript, completely different.
Still not working. Sorry lol I’m pretty new to java. Idk if I wrote it right
ahh sorry javascript*. I knew that
pezflash said
You can’t use $ ref there.
Use screen-width http://www.w3schools.com/jsref/prop_screen_width.aspMake it dynamic
![]()
Still not working. Sorry lol I’m pretty new to java. Idk if I wrote it right
digitalimpact said
var windowWidth = $("#instructor-container").width();
Take a look at it. It froze the parallax
pezflash said
On parallax.js setup your var windowWidth variable to a dynamic value, getting the current/dynamic stage width instead of the fixed 1024px. Didn’t test it, but it should work.
Could you rewrite that line or me with a dynamic width? preferably 100%
My website is http://hgrsolutions.com.
The second section down you will see some green circles. I am using a parallax effect to move the circles. My website has a 98% width, so the windows re size when you re size your browser window. The issue I have run into is that the green circles (parallax) are still holding their x position when you re size the browser window. In other words, it doesn’t stay centered with the window. It seems like the only way around this is to set a fixed width for the site :/ Which I don’t really want to because it is meant to be a wide site.
Is there a javascript solution to keep the container (#instructor-container) that the parallax is in center at all times?
If your confused, here’s m skype user: ace2296 feel free to chat with me there 
You should be able to view my css and java with firebug.
Bluntaxe said
pebas saidI actually like the drops, it was implemented in order to create the bubble effect in water I guess. In comparison with the website shown by you, yours loads slower which will damage your client’s experience.
^ Around two sec again. That is quite acceptable. By the way those drops flying around are quite annoying form me.What they represent?
Thanks for the feedback. We’re working to speed things up.
pezflash said
Your site loads in an acceptable time range (around 2-3 seconds for me).
Honestly, i think your server speed is what is causing the delay, not your contents.
thanks your the feedback I’ll take a look into it.
pebas said
@Bluntaxe ”...it was implemented in order to create the bubble effect in water..” But doesn’t looks like bubbles.![]()
*water particles lol not a fan of a little jquery effect?
pebas said
Around 2 sec is needed for me to load (not so bad). What happen if you remove that background JS eg. ‘fly2by.png’, that loop trough images and positions seems like slowing down page a lot. Why you don’t simply create one pattern without that animations?
oops I didn’t have the backgrounds up when you looked at it. Can you recheck it for me?
pebas said
Actually it is not that huge.![]()
There are only three images, all together around 1mb and that is quite easy to load.
Look at that like this:
1. Header Image
2. Pattern
3. Footer Image
4. Background Color
Also I think you should shorten that link when posting here.![]()
K, don’t get me wrong I love what they did to their site, I’m not bashing it. Link There’s my site and it takes forever to load in and I’m only loading about 500k worth of background images in the 3 sections.
