Results 1 to 8 of 8
  1. #1
    Pro
    Points: 60,173, Level: 76
    Level completed: 8%, Points required for next Level: 1,477
    Overall activity: 9.0%
    Achievements:
    SocialVeteran50000 Experience Points
    Omaha Cy's Avatar
    Join Date
    Sep 2007
    Location
    The Omaha, Nebraska
    Posts
    3,083
    Points
    60,173
    Level
    76
    Thumbs Up
    Received: 49
    Given: 74

    Need help with web code

    Needing a bit of help with some code, if anyone has a minute or two to change it/add on/whatever.

    I posted a twitter button on the home page of my website(see my signature link below)....but I'd rather the twitter button open in a new window instead of a direct link. The code for the twitter button I pasted on the homepage is below.

    <****** src="http://www.twittermysite.com/mytwitt...&amp;button=13" type=text/javascript></******>

    and I got the code from this website http://www.twittermysite.com/

    If anyone can adjust this code to open in a new window, I'd appreciate it much. Wanting to keep the bounce rate on the homepage as low as possible.


    http://www.tecmobowl-vs-rbi.com/index.html
    No one can match our dedication and passion for Nintendo's classic sports titles...Tecmo Bowl & R.B.I. Baseball. In-depth strategy guides, player attributes, team rankings, along with incredibly detailed recaps of our season play. We don't reminisce, we just keep playing!

  2. #2
    Pro
    Points: 60,173, Level: 76
    Level completed: 8%, Points required for next Level: 1,477
    Overall activity: 9.0%
    Achievements:
    SocialVeteran50000 Experience Points
    Omaha Cy's Avatar
    Join Date
    Sep 2007
    Location
    The Omaha, Nebraska
    Posts
    3,083
    Points
    60,173
    Level
    76
    Thumbs Up
    Received: 49
    Given: 74

    Re: Need help with web code

    for some reason CYfanatic has placed an ****** over the word S C R I P T at the begining and end of the code.


    http://www.tecmobowl-vs-rbi.com/index.html
    No one can match our dedication and passion for Nintendo's classic sports titles...Tecmo Bowl & R.B.I. Baseball. In-depth strategy guides, player attributes, team rankings, along with incredibly detailed recaps of our season play. We don't reminisce, we just keep playing!

  3. #3
    Addict
    Points: 122,102, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Overall activity: 10.0%
    Achievements:
    Veteran50000 Experience Points
    simply1's Avatar
    Join Date
    Jun 2009
    Location
    Salt Lake City
    Posts
    5,469
    Points
    122,102
    Level
    100
    Thumbs Up
    Received: 49
    Given: 5

    Re: Need help with web code

    Quote Originally Posted by FD Cyclone View Post
    for some reason CYfanatic has placed an ****** over the word S C R I P T at the begining and end of the code.
    Code injection.


    I don't do signatures. Blondes, brunettes, and red heads are a different story.

  4. #4
    Hall-Of-Famer
    Points: 92,455, Level: 94
    Level completed: 64%, Points required for next Level: 695
    Overall activity: 6.0%
    Achievements:
    SocialVeteran50000 Experience Points
    Bader's Avatar
    Join Date
    Jul 2007
    Location
    Ankeny
    Posts
    4,404
    Points
    92,455
    Level
    94
    Thumbs Up
    Received: 26
    Given: 19

    Re: Need help with web code

    Unfortunately the javascript is being kept remotely at twittermysite.com. This is what the src attribute of the s c r i p t tag does, goes and retrieves code from that URL.

    So unless you can talk to the webmaster you won't be able to change the jscript.

    However, you don't need jscript to do this. You can just use an anchor tag along the lines of <a href=http://www.twitter.com/{twitter_account} target="_blank"><img src="{path to image locally}"></a>

    Plus, this way people that don't allow jscript to run on their browsers can still see your link. You will have to save the image and upload to your page space to use that same picture.



  5. #5
    Pro
    Points: 60,173, Level: 76
    Level completed: 8%, Points required for next Level: 1,477
    Overall activity: 9.0%
    Achievements:
    SocialVeteran50000 Experience Points
    Omaha Cy's Avatar
    Join Date
    Sep 2007
    Location
    The Omaha, Nebraska
    Posts
    3,083
    Points
    60,173
    Level
    76
    Thumbs Up
    Received: 49
    Given: 74

    Re: Need help with web code

    Quote Originally Posted by Bader View Post
    Plus, this way people that don't allow jscript to run on their browsers can still see your link. You will have to save the image and upload to your page space to use that same picture.
    Awesome...hadn't considered using an image in that way. I will do will that.

    When it comes to web stuff, I really fail to think outside of even the smallest box.


    Last edited by Omaha Cy; 01-18-2011 at 06:56 AM.
    http://www.tecmobowl-vs-rbi.com/index.html
    No one can match our dedication and passion for Nintendo's classic sports titles...Tecmo Bowl & R.B.I. Baseball. In-depth strategy guides, player attributes, team rankings, along with incredibly detailed recaps of our season play. We don't reminisce, we just keep playing!

  6. #6
    Addict
    Points: 181,126, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Overall activity: 12.0%
    Achievements:
    SocialVeteranCreated Album pictures50000 Experience Points

    Join Date
    Oct 2007
    Location
    Marshalltown
    Posts
    9,953
    Points
    181,126
    Level
    100
    Thumbs Up
    Received: 124
    Given: 119

    Re: Need help with web code

    Quote Originally Posted by FD Cyclone View Post
    Awesome...hadn't considered using an image in that way. I will do will that.

    When it comes to web stuff, I really fail to think outside of even the smallest box.
    That's a pretty standard way to make custom buttons.



  7. #7
    Pro
    Points: 60,173, Level: 76
    Level completed: 8%, Points required for next Level: 1,477
    Overall activity: 9.0%
    Achievements:
    SocialVeteran50000 Experience Points
    Omaha Cy's Avatar
    Join Date
    Sep 2007
    Location
    The Omaha, Nebraska
    Posts
    3,083
    Points
    60,173
    Level
    76
    Thumbs Up
    Received: 49
    Given: 74

    Re: Need help with web code

    Quote Originally Posted by 1100011CS View Post
    That's a pretty standard way to make custom buttons.
    That's the problem. If I'm not behind a pair of channel locks or replacing the heat control on a water heater or whatever happens to cross my path during the day, I lose my way pretty easily.

    Then I need CF to bail me out of the most idiotic and rudimentary computer issues.

    I still don't even "get" how to unzip files. Damn these blasted computers and internets all to hell!


    http://www.tecmobowl-vs-rbi.com/index.html
    No one can match our dedication and passion for Nintendo's classic sports titles...Tecmo Bowl & R.B.I. Baseball. In-depth strategy guides, player attributes, team rankings, along with incredibly detailed recaps of our season play. We don't reminisce, we just keep playing!

  8. #8
    Hall-Of-Famer
    Points: 92,455, Level: 94
    Level completed: 64%, Points required for next Level: 695
    Overall activity: 6.0%
    Achievements:
    SocialVeteran50000 Experience Points
    Bader's Avatar
    Join Date
    Jul 2007
    Location
    Ankeny
    Posts
    4,404
    Points
    92,455
    Level
    94
    Thumbs Up
    Received: 26
    Given: 19

    Re: Need help with web code

    Ha you're not asking which computer is more awesome or how to remove a virus, it's a welcome change of pace :)

    If you're interested in picking up some stuff yourself, this is a good web design tutorial site that has lots of examples for HTML and web scripting

    W3Schools Online Web Tutorials



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
  • Football
  • Iowa State vs. Baylor
  • September 27, 2014
  • 02:30 PM