10
Hmmm.....well I tinkered with this yesterday and I cant seem to get it to work.
I got the portion of the hack to work on the heading.php custom script after uploading the font
Quote:
For example, loading the URL heading.php?text=URLs%20Are%20Fun will produce a graphic that reads “URLs Are Fun.”
This Part Worked Perfect..................
After I edited the .js file and uploaded it, I cant seem to get it to swith anything on the site itself.
I have a feeling I am putting the wrong variables or something.
Quote:
Weighing in at a hefty eight kilobytes, there’s a lot of stuff going on in this corner of the ring, but there are only two lines that need to be customized before the script will work.
replaceSelector("h2","heading.php",true);
var testURL = "test.png";
The replaceSelector function accepts three parameters: The first is the CSS-style selector that indicates which elements should be replaced. This selector may be almost any valid CSS selector, including id, class, element and attribute selectors.
.......Once these lines are set correctly, you can upload the JavaScript file to your web server, and apply it to your web pages by adding the following line to their tags.
< script
type="text/JavaScript"
src="replacement.js">
< /script>
Make sure the src attribute in that line points to the location that you uploaded the JavaScript file to.
I made and uploaded a test.png file. I changed "h2" to one of the classes and elements variables and nothing changes.
I am assumming that I need to change the .html file of the theme that I am using right?