Hi,

You're right, I didn't give enough information. Sorry, just a bit of
panic setting in on my part!  The script works locally on my PC, so
here is what I've done -

I have created a Wordpress theme called "test" inside of which is a
folder called js. This folder contains two files - jquery-1.2.6.pack
and jquery.brenelz.equalHeight

As far as I can tell, I've referenced this correctly in the head area
of the index file as follows -
<script type="text/javascript" src="<?php bloginfo
('template_directory'); ?>/js/jquery.brenelz.equalHeight.js"></script>

        <script type="text/javascript" src="http://really-valid-info.com/blog/
wp-content/themes/test/js/jquery-1.2.6.pack.js">

                $(function(){
                        $('.column').equalHeight();
                });

        </script>

This outputs html code as:
<script type="text/javascript" src="http://really-valid-info.com/blog/
wp-content/themes/test/js/jquery.brenelz.equalHeight.js"></script>

        <script type="text/javascript" src="http://really-valid-info.com/blog/
wp-content/themes/test/js/jquery-1.2.6.pack.js">

                $(function(){
                        $('.column').equalHeight();
                });

        </script>

The url is: http://really-valid-info.com/blog/

It seems I've done something wrong though as the script is not getting
triggered. I Would appreciate any help to get this working.

Myles


On May 14, 10:31 pm, MorningZ <morni...@gmail.com> wrote:
> 1. No... the file could be named "foobar.js" for all that matters
>
> 2.  It's hard to help get your script working without knowing what the
> issue actually is...   "doesn't work" does not help someone help you
>
> On May 14, 12:13 pm, "mylessincl...@googlemail.com"
>
>
>
> <mylessincl...@googlemail.com> wrote:
> > Hello,
>
> > I came across JQuery when searching for a solution to get matching
> > column height with Divs.
>
> > I have downloaded JQuery which appears to be one file named
> > jquery-1.3.2.min I also have the following short script that I found,
> > which I believe goes in the head area of the page.  The script works
> > with jquery.
>
> > <script language="javascript" type="text/javascript" src="../../js/
> > jquery/jquery.js"></script>
> > <script>
> > function equalHeight(group) {
> >         tallest = 0;
> >         group.each(function() {
> >                 thisHeight = $(this).height();
> >                 if(thisHeight > tallest) {
> >                         tallest = thisHeight;
> >                 }
> >         });
> >         group.height(tallest);}
>
> > $(document).ready(function() {
> >         equalHeight($(".column"));});
>
> > </script>
>
> > I'm a complete novice at Javascript, but hopefully someone can advise
> > on the following questions.
>
> > 1. I assume I need to rename my download file jquery-1.3.2.min to
> > jquery.js ?
>
> > 2. Do I need to edit the jquery file somehow in order to get the above
> > script to work?
>
> > Hope someone can advise.
>
> > Many thanks
>
> > Myles- Hide quoted text -
>
> - Show quoted text -

Reply via email to