Hi there, I am really new to all this.  Been a  while since I looked
at code but... I had a project and I think I bit off more than I can
chew.  What we need to do (without using php because thats WAY beyond
me right now) is place a divs from an external doc into the main doc.

can the load here be made to work with html or any client side coding
instead of PHP?  What we want to do is have a div in our main document
get loaded with <div class='cat 1'> or <div class='cat 2'> depending
on which button is clicked.


This is from the js document our main page is href-ing from:

$('.navigation li.category p').click(function(){        // change
categories
                if ($('.navigation ul ul.selected').hasClass('longlist')) { //
remove 'next' and 'prev' for long lists if necessary
                        $('.prev_pieces').fadeOut();
                        $('.next_pieces').fadeOut();
                        scrolled = false;
                }
                var sel_category = $(this).parent().attr("class").split(" ")[1];
                $('.navigation ul ul.selected').prev().children().remove();     
//
remove double angle quotes
                $('.navigation ul 
ul.selected').parent().removeClass("selected");
                $('.navigation ul ul.selected').slideUp*/("normal",function(){
                $('.main_content').load("main_content_normal.php?
category="+sel_category,{},function(){

                                $('html,body').scrollTop(0);
                                $('.main_content 
img.multiview').not(":first-child").hide();
                        });


I can give full source codes if you think you can help.  I just wanted
to start out with a some what smaller post...

Reply via email to