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 6 of 6

Thread: Need help with widget

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

    Default Need help with widget

    Hello, I am working on a widget that I need to create to allow affiliates to display it on their sites. It needs to highlight some of the points on one of our websites, and I do not know how to reference specific parts of the website, such as the sidebar, or specific pictures and text.

    Here is my code so far, I am also not sure what to do on the server side for the AJAX widget.

    Thanks so much.

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 TRANSITIONAL//EN">
    <html>
     
    	<head>
    		<title>WRNR Deal Of The Day</title>
    	<link rel="stylesheet" type="text/css" href="wrnr_widget.css" />
    	</head>
    	<body>
     
    <div class="header" width="280" height="65">
     
    </div>
     
    <div class="wrnr" style="background-color:#000000">
    <iframe src="BLANK" allowtransparency="true" bgcolor="black" frameborder="0" scrolling="no" width="260" height="375"></iframe>
     
    </div>
     
    	</body>
    </html>

    wrnr_widget.css

    #MyWidget{
     margin:2;
     padding:5;
     font:Arial;
     font-size:larger;
     font-weight:bold;
    }


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,162
    Thanks
    65
    Thanked 2,725 Times in 2,675 Posts

    Default Re: Need help with widget

    Moved out of the java programming section.
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Junior Member
    Join Date
    Jun 2014
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Need help with widget

    I am out of my wheelhouse here, and trying to learn how to do this.

    Here is the past widget that I'd like to replicate.



    Here is the code I have with JS

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 TRANSITIONAL//EN">
    <html>
     
    	<head>
    	<script type="text/javascript">window["_gaUserPrefs"] = { ioo : function() { return true; } }</script>
    	<script type="text/javascript" src="/static/js/analytics.js"></script>
    	<link type="text/css" rel="stylesheet" href="/static/css/banner-styles.css">
    	<title>WRNR Deal Of The Day</title>
    	<link rel="stylesheet" type="text/css" href="http://www.halfoffatthebeach.com/" />
    	</head>
    	<body>
    <div class="header" width="280" height="65"></div>
    <div class="wrnr" style="background-color:#000000">
    <iframe src="http://www.landmarksgreatdeals.com/affiliate/ajaxWidget/164" allowtransparency="true" bgcolor="black" frameborder="0" scrolling="no" width="260" height="375"></iframe>
     
    </div>
    	</body>
    </html>

  4. #4
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,162
    Thanks
    65
    Thanked 2,725 Times in 2,675 Posts

    Default Re: Need help with widget

    Try asking your questions on a javascript forum. This one is for java
    If you don't understand my answer, don't ignore it, ask a question.

  5. #5
    Junior Member
    Join Date
    Jun 2014
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Need help with widget

    Alright thanks just delete it then

  6. #6
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,517
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: Need help with widget

    Thread closed per OP's request.

Similar Threads

  1. Anyone out there willing to code a web widget for me?
    By WebDevGuy in forum Paid Java Projects
    Replies: 1
    Last Post: May 13th, 2014, 05:41 PM
  2. Update widget by changing text
    By victorzx in forum Android Development
    Replies: 0
    Last Post: July 20th, 2013, 01:07 PM
  3. how to make widget label cloud at JSP
    By 20GreatWall in forum JavaServer Pages: JSP & JSTL
    Replies: 1
    Last Post: October 11th, 2010, 11:16 AM
  4. Component/Widget creation
    By Hellops in forum AWT / Java Swing
    Replies: 0
    Last Post: October 15th, 2009, 10:31 PM