• Resolved emaarkhan

    (@emaarkhan)


    hi,
    I m converting my html site to WP and i am trying to make the slide work which works perfectly in html website.i tried jQuery simple alert it works but the script isn’t.wht seem to be wrong?

Viewing 12 replies - 16 through 27 (of 27 total)
  • also i request can you share view source of your developed page

    Thread Starter emaarkhan

    (@emaarkhan)

    I have doubts on my scripts actually being called from scripts folder. have a look at this screenshot, when i click script files. it is opening same page again and the title of the page is adding /script/script. what could be wrong?
    I also went ahead and pasted fwshowcase.js and pasted it in header but nothing happened.
    is it working on ur end?

    Thread Starter emaarkhan

    (@emaarkhan)

    I don’t have it uploaded.its on localhost. which page u want me to show u

    Thread Starter emaarkhan

    (@emaarkhan)

    I used the <?php bloginfo(‘template_url’); ?> in front of the scripts and its working.

    Thread Starter emaarkhan

    (@emaarkhan)

    Thanks guys! especially pankaj!

    Thread Starter emaarkhan

    (@emaarkhan)

    Pankaj, i have a question. how did u know it was request fdshowcase. sorry i m very new to js

    you have to learn javascript.
    your script.js need jquery and fdshowcase.js to run

    jQuery(function(){ this line say it must need jquery
    $fw("#galleryhdr").fwShowcase( this line say you fwShowcase plugin

    Thread Starter emaarkhan

    (@emaarkhan)

    I have another js accordian heading. its not working now.i have put it in the visual editor. do u think putting it in visual editor is problem or shld i hard code it to make it work? as i looked into old static page. it sas heading2, which has one css class and other r two p heading with same class

    putting it in visual editor is problem. better you can design a page template for your theme

    Thread Starter emaarkhan

    (@emaarkhan)

    yes i did that but no results ??

    Thread Starter emaarkhan

    (@emaarkhan)

    actually its a conversion from static to dynamic. so i want all things to be the same.
    Its the same script as before. the h2 part if u see. its that one. bt its working

    [No bumping. If it’s that urgent, consider hiring someone.]

    Thread Starter emaarkhan

    (@emaarkhan)

    thnx anyways

Viewing 12 replies - 16 through 27 (of 27 total)
  • The topic ‘html js not working in wp’ is closed to new replies.