Results 1 to 10 of 10

Thread: Need a "Webpage within a website"

  1. #1
    Join Date
    Feb 2007
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Need a "Webpage within a website"

    I'm not sure if this is covered somewhere on the forums already because I don't even really know what it is called, technically. However, I am looking for a way to display affiliate sales pages (external webpages) on my site so that the user can purchase affiliate products directly from my site without ever having to leave my site.

    If possible, I'd like to have the the affiliate page (as much as possible) integrate nicely into my site so that there is really no distinction between the external affiliate page and my website. I hope that makes sense.

    First is this even possible, and second, how do I do it?

    I'm not familiar with scripting language, just basic HTML and CSS. I'm just looking for the simplest way to do this (possibly something that can be inserted right into the html of my website), if possible without having to mess around with PHP or CGI.

    Any help? Ideas? Suggestions?

  2. #2
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,380
    Thanks
    31
    Thanked 148 Times in 142 Posts
    Blog Entries
    34

  3. #3
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    Instead of going through JS, it's much simpler to hardcode the iframe.

    Code:
    <iframe src="link/to/your/page" width="" height=""></iframe>

  4. #4
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,380
    Thanks
    31
    Thanked 148 Times in 142 Posts
    Blog Entries
    34

    Default

    Quote Originally Posted by Medyman View Post
    Instead of going through JS, it's much simpler to hardcode the iframe.

    Code:
    <iframe src="link/to/your/page" width="" height=""></iframe>
    No, that's exactly the point of this script. The src is a variable, in: OBJ.setAttribute('src',shortURL) (DOM) and src="' + shortURL + '" (document.write). That garantees that you will always have the right URL in the address bar, which makes bookmarking possible (among other things; try the demo). Hardcoding the iframe would not allow this.
    ===
    Arie.
    Last edited by molendijk; 04-10-2009 at 02:44 PM.

  5. #5
    Join Date
    Feb 2007
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you. I will try this and let you know how I make out. Just so I am clear, this should not affect any affiliate ID embedded into the URL, right? It will capture and display the entire URL and send the cookie along to the browser?

    edit: I read over the instructions. However, this would probably go on a sub-page/sales page on the site, not the index/main page. Will this still work. Do I need to modify anything?
    Last edited by dclewis; 04-15-2009 at 03:55 PM.

  6. #6
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,380
    Thanks
    31
    Thanked 148 Times in 142 Posts
    Blog Entries
    34

    Default

    It will work alright (and without cookies). Both your own pages and the sales pages will show as demonstrated in the demo.
    ===
    Arie.

  7. #7
    Join Date
    Feb 2007
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by molendijk View Post
    It will work alright (and without cookies). Both your own pages and the sales pages will show as demonstrated in the demo.
    ===
    Arie.

    I meant the cookies from the affiliate page. Those will remain in tact?

    Also, my affiliate page(s) are not on the main page so do I need to change the index.html, and if so, to what? The full URL of the page it's on?

  8. #8
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,380
    Thanks
    31
    Thanked 148 Times in 142 Posts
    Blog Entries
    34

    Default

    Quote Originally Posted by dclewis View Post
    I meant the cookies from the affiliate page. Those will remain in tact?
    Yes, they will remain intact.

    Quote Originally Posted by dclewis View Post
    Also, my affiliate page(s) are not on the main page so do I need to change the index.html, and if so, to what? The full URL of the page it's on?
    You could perhaps give me a 'print screen' of how you want it?
    ===
    Arie.

  9. #9
    Join Date
    May 2008
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Use a php include.

    <?php include("webaddress.php"); ?>

  10. #10
    Join Date
    Feb 2007
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by molendijk View Post
    Yes, they will remain intact.


    You could perhaps give me a 'print screen' of how you want it?
    ===
    Arie.
    I was hoping to send you a PM because I don't want to post all the details of my site. I am using typepad's hosted solution, for simplicity (for me). So, I am restricted in the respect that I cannot use php or CGI to accomplish this, which makes the javascript idea (I can use that, not problem).

    The affiliate page(s) where I will want the script for the affiliate page inside my own site will be off the home page so it would be something like www.mysite.com/affiliatepage1 or www.mysite.com/affiliatepage2

    Does that help any?

Bookmarks

Posting Permissions

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