XML node properties
Firstly thanks for taking the time to look at this. I have a personal website I am running and I have having a little trouble retrieving image url's to display. Right now on my website page I have a few <p>
and a <img>
tag. With the <p>
tags I set innerHTML to different xml nodes to display the text in the XML nodes. With the <img>
I just use the Jquery arrt() function and set source to the text in the XML node (which is the image url). This does work, however for some reason the page goes really slow. Anybody have any ideas?
The page is justinmburrous.com/help/news.html and the js page is justinmburrous.com/help/javascript/news.js
开发者_开发知识库I am guessing it is an xmlProperty issue, I have tried several different kinds and still can not seem to fix the issue.
Thanks.
If its any indication, I saw a "Load Error" bit of text where the image should be... and then the image loaded - yep pretty slowly.
Also, part slowness could be from the nature of your images, they look unoptimised - 829KB for 'steamengine1.jpg' at 3264x1952 dimensions when downloaded.
精彩评论