amitstreak
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Fade between images with jQueryThanks again.
Same results but now I see a code line in the head of the website.
header.php now looks like this:
<?php wp_head(); ?> <div class="fadehover"> <img src="https://localhost/nextGen/wp-content/themes/glossyblue-1-4/images/cbavota.jpg" alt="" class="a" /> <img src="https://localhost/nextGen/wp-content/themes/glossyblue-1-4/images/cbavota-bw.jpg" alt="" class="b" /> </div>
functions.php:
function my_init() { if (!is_admin()) { wp_enqueue_script("jquery"); wp_enqueue_script('fader', '/wp-content/themes/glossyblue-1-4/js/fader.js', array('jquery')); } } add_action('init', 'my_init');
Forum: Fixing WordPress
In reply to: Fade between images with jQueryThanks, esmi.
Partial success – the two images still appear separately in two corners but now the one on the right fades away when mouse hovers over it.
They’re supposed to be located at the same spot and fade between one to the other.What am I still doing wrong?
header.php code now is:
<?php wp_enqueue_script("jquery"); ?> <?php wp_enqueue_script('fader', '/wp-content/themes/glossyblue-1-4/js/fader.js', array('jquery')); ?> <?php wp_head(); ?> <script type='text/javascript'> jQuery(document).ready(function(){ jQuery("img.a").hover( function() { jQuery(this).stop().animate({"opacity": "0"}, "slow"); }, function() { jQuery(this).stop().animate({"opacity": "1"}, "slow"); }); }); </script> <div class="fadehover"> <img src="https://localhost/nextGen/wp-content/themes/glossyblue-1-4/images/cbavota.jpg" alt="" class="a" /> <img src="https://localhost/nextGen/wp-content/themes/glossyblue-1-4/images/cbavota-bw.jpg" alt="" class="b" /> </div>
Forum: Networking WordPress
In reply to: Sub-directory site not accessible from remote computersSolved it.
My bad.
I’m using the plugin “Page Links To” which enables me to replace the link of a page, and I accidentally typed /// instead of // in the url.
For some reason FireFox knows to drop the third / and since I’m using it at home I haven’t noticed any problem until someone using IE mentioned it.So I guess sometimes using the better product may not be in your favor ??
Anyway, thanks James.
Forum: Networking WordPress
In reply to: Sub-directory site not accessible from remote computersOkay,
I know what the problem is now but still looking for a solution.In the main site when going with the mouse over the link of the sub-directory site (the middle link at the top of the page), in FireFox, which I’m using at home, everything is fine but with IE, which was used outside, the link contains /// instead of // after http.
How can this be?
Forum: Networking WordPress
In reply to: Sub-directory site not accessible from remote computersForum: Networking WordPress
In reply to: subdomain created but cannot be browsedGreat.
Thanks!Forum: Networking WordPress
In reply to: subdomain created but cannot be browsedHi Andrea,
Thanks for the quick reply.Which method is preferred if my priority is the website’s speed?
Is there a detailed guide for this on codex?
I couldn’t find one on the “Create A Network” page.