Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Generate webpage' embedded code banner

  1. #1
    Junior Member
    Join Date
    Aug 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Generate webpage' embedded code banner

    Hello!

    I have to create a page which generates a code snippet that others can add to their website. This code should include an image which links to my webpage when clicked. I want to gather statistics also of who is getting to my page through this image.

    Doing some research on internet I found out that this can be done by using an iframe with an <a> tag and an <img> tag or by using a Js code...But I donīt understand which option is better and why. Is there any other solution? Does anybody did this already?

    Any advice is welcome.

    Thank you in advance!


  2. #2
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,718
    My Mood
    Mellow
    Thanks
    231
    Thanked 706 Times in 692 Posts

    Default Re: Generate webpage' embedded code banner

    Thread moved.

    JavaScript != Java;

Similar Threads

  1. Replies: 1
    Last Post: July 17th, 2014, 05:02 AM
  2. Writing Java code that can interact with a webpage
    By uunrlg_143 in forum What's Wrong With My Code?
    Replies: 0
    Last Post: November 5th, 2013, 03:54 AM
  3. What's wrong with my code? (generate sequences of numbers using a stack)
    By mescoff in forum What's Wrong With My Code?
    Replies: 2
    Last Post: October 18th, 2012, 09:12 AM
  4. code to refresh and check the code of a webpage..
    By vaggelis in forum What's Wrong With My Code?
    Replies: 1
    Last Post: February 7th, 2012, 06:43 AM
  5. Creating a new class and dont know how to generate a random number math code
    By beatlebaby70 in forum What's Wrong With My Code?
    Replies: 4
    Last Post: September 15th, 2011, 03:03 PM

Tags for this Thread