www.webdeveloper.com
Page 2 of 2 FirstFirst 12
Results 16 to 20 of 20

Thread: [RESOLVED] redirect to DIV ID in same function

  1. #16
    Join Date
    Apr 2009
    Posts
    35
    Forget it I'm done dealing with you two. I'll wait for knowledgeable members to assist instead of just post ridiculous comments.

  2. #17
    Join Date
    Apr 2009
    Posts
    35
    Quote Originally Posted by killinspre View Post
    I have stripped down the code as to not distract deathshadow from the actual issue

    http://albertaxchange.com/include/lightbox/

    This works properly as expected.

    How do I get it to work exactly like this from something like the following

    PHP Code:
    //this function will be on http://albertaxchange.com/include/_MyStuff.php
    function PLEASE_WORK()
        {
            require 
    'http://albertaxchange.com/include/lightbox/index.php';
        } 
    Ginerjm, you do not see the PHP function? You do not see how I intent the function to run the working script? Even Deathshadow saw and commented on it by telling about wrapping it in parenthesis just in case that becomes the custom.

  3. #18
    Join Date
    Apr 2009
    Posts
    35
    I have taken screen shots of each to show where the problem lies.

    Image1.jpg works

    Image2.jpg doesn't work

  4. #19
    Join Date
    May 2014
    Posts
    936
    Again, you're doing # and calling it from localhost -- what are you expecting it to do?!?

    Your paths must be relative to where it's called, NOT where it's included from!

    ... and that snippet really doesn't show us the whole picture. I think you aren't grasping how includes work, or the difference between HTTP location and local location.
    Java is to JavaScript as Ham is to Hamburger.

  5. #20
    Join Date
    Apr 2009
    Posts
    35
    I feel I have narrowed the issue down to a possible javascript issue and have moved this problem there.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles