Everybody! This is important. In a few days, these forums will be moving over to using the totally sweet Discourse platform. To ensure this migration happens smoothly with no loss of content, these forums are currently in a read-only mode. I do apologize for the inconvenience.

There is never a good time to turn the forums off for an extended period of time, but I promise the new forums will be a billion times better. I'm pretty sure of it.

See you all on the other side in a few days, and if you have any (non-technical) questions, please e-mail me at kirupa@kirupa.com. For technical questions, try to find a tutorial that corresponds to what you are looking for and post in the comments section of that page.

Cheers,
Kirupa

Results 1 to 3 of 3

Thread: Simple info/image swap [link to files included]

  1. #1

    Barcode Simple info/image swap [link to files included]

    Here are all the files:
    http://www.marazita.com/web/eyegixsample.zip

    I'm just creating a simple art gallery and I like how this site just swaps out the images:
    www.eyegix.com

    For example:
    This is the code that's on the prev/next buttons.

    <a href="javascript:swap_tf(4)">Prev</a>, <a
    href="javascript:swap_tf(2)">Next</a>

    ------------------------------------------------------------
    This is a sample of the code on the core.js that's calling another .js file
    called ahah-lib.js

    function swap_tf(tf) {
    callAHAH('testform.php?content= '+tf, 'testform', 'loading...', 'Error!');
    }

    ------------------------------------------------------------
    So technically it's calling the address:
    http://www.eyegix.com/testform.php?content=2

    Which from what I can gather is simple html info from a php page called testform.php. I just need to know how to set up that php page as a list for each separate section [ex. swap_tf(2), (3), (4), etc.] with the simple html info. As you can tell I know nothing about PHP for the most part. I just wish I could access the php page on that site so I could see how it's set up, but of course php won't let me do it.

    Thanks in advance.
    -Justin-
    Last edited by Esoteric; January 22nd, 2007 at 02:45 PM.

  2. #2
    Anyone? Is it because the files are in a .zip file? I could post each separate file that's .js and what not. I just thought that would be a lot of un-necessary work.

    Or is it that no one could tell what is written in a php file from just looking at the .js files? It doesn't seem like it would be that hard since it's basically just a list with simple html swapping.

  3. #3

    Justin Marazita is a thief and website ripper

    Justin Marazita is a thief and website ripper residing in the Colorado Springs area. He just steals work from corporate companys or small local individuals and doesn't differentiate the importance of both. So don't hesitate to contact him about anything whether it's small, large, or even a unillegal collaboration. He does everything and has no honor!

    We are going to post this everywhere and embarrass him all over the web.



    www.eyegix.com

    vs.

    www.marazita.com/design.html

    oh, and this is interesting:
    the original wallpaper from eyegix.com on his server, damn boy

    http://www.marazita.com/design/loslollis.gif

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
  •  

Home About kirupa.com Meet the Moderators Advertise

 Link to Us

 Credits

Copyright 1999 - 2012