Solved

Logos not appearing

Posted on 2013-10-24
3
165 Views
Last Modified: 2013-10-24
I made a scoreboard that actually works but one issue is I have two logos of each team next to there name. Our company changed servers and I can't just show u using a public IP so i LOAD FILES ON MY WEBSITE THERE IS A SECOND QUESTION BUT i'LL CREATE A NEW TICKET SO FOR THIS ONE I NEED EAGLES AND PACKERS LOGO TO SHOW UP ALL THE NFL TEAMS ARE LOADED TO a directory called minilogos each logo has a number that corresponds to team ID. 069 Packers 081 Eagles I'm not sure I think my code is code but here is the scoreboard
scoreboard

should look like image of what scoreboard should look like
xml files get changed on this site so I have a zip of html doc and xml file.

here is my code that calls minilogos
d.find('Team').each(function(i,Team){
			  
        if ($(Team).attr('vh') == "H") {
			 var HS1 = $(Team).find('Linescore');
			 var homename =$(Team).attr('name');
         // var hs2 = HS1.attr('Score');
          $('#HS').html(HS1.attr('Score')); 
		   $('#txtHome').html(homename);
         // var vs2 = VS1.attr('Score');
         $('#minihome').attr('src', 'http//powerzsoftware.com/tsn/nfl/minilogos/' + $(Team).attr('ID') + '.png'); 	
		   $(Team).find('LineQuarter').each(function(){
						if($(this).attr('Qtr') == "1") {
							$('#periodH1').text($(this).attr('score'));
						} else if ($(this).attr('Qtr') == "2") {
							$('#periodH2').text($(this).attr('score'));
						} else if ($(this).attr('Qtr') == "3") {
							$('#periodH3').text($(this).attr('score'));
						} else if ($(this).attr('Qtr') == "4"){
							$('#periodH4').text($(this).attr('score'));	
						} else if ($(this).attr('Qtr') == "5"){
							$('#periodH5').text($(this).attr('score'));	
						} else if ($(this).attr('Qtr') == "6"){
							$('#periodH5').text($(this).attr('score'));
						}
					});
			if ($(Team).attr('ID') == $(Play).attr('PossID')) {
         
		  

Open in new window

nflpackage.zip
0
Comment
Question by:powerztom
  • 2
3 Comments
 
LVL 18

Accepted Solution

by:
zc2 earned 500 total points
ID: 39598355
You misspelled the URL syntax. It should start with "http://", not with "http//".
That might be a reason of the failure (if there are no other reasons).
0
 

Author Closing Comment

by:powerztom
ID: 39598472
I needed that 2nd set of eyes to find that error. I am grateful thank You.
0
 
LVL 18

Expert Comment

by:zc2
ID: 39598776
You're welcome.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
how can i get 4 nd 5 ? 3 31
how can i turn the array into an object 4 39
jQuery Toggle & Anchor Links 5 42
Start Auto-download of File when page loads? 1 20
Introduction JSON is an acronym for JavaScript Object Notation.  It is a text-string data transport mechanism, capable of representing simple or complex data structures in a consistent and easy-to-read manner.  Similar in concept to XML, but more e…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question