The content sharing system is finally here and of course, this is the place to talk about it. Anything regarding the system is welcome here: comments, feedback, suggestions, feature and data list requests.
Please remember I have no coding experience. I now have two fan sites up one for U2 the other Chaser. I would like to have the sharing on both sites. I use a web editor and have very little knowledge of coding. The following gives me an error, for the life of me I cant work it out. Its probably very simple but I just cant see it.
Line 17 Char 5 Error 'ivertical' is undefined Code 0
I know this is for ut2k3 maps, just a test. <html>
<head> <!-- Include the data file that you want to use from the Mapraider.com server --> <script language= "JavaScript" src= "http://www.mapraider.com/sharing/js/top10-ut2k3.js"></script> <!-- include the library file below the data file --> <script language="JavaScript" src="inc.mapraider.js"></script> </head> <body bgcolor="#ffffff"> <p> <script> <!-- // Call ShowMaps () to display the maps. ShowMaps ( iVertical, 0, 0, bShowName, bShowAuthor, bShowScreenshot, bShowScore, bShowRatings); // --> </script> </p> <p> </p>
The documentation has a complete list of the available data files in Appendix A : XML and JavaScript Data Files
Newest 10 U2 maps: http://www.mapraider.com/sharing/js/new10-u2.js
Top 10 U2 maps: http://www.mapraider.com/sharing/js/top10-u2.js
I also notice that you're not sure what to do with the style sheet defs: i.e. ".mrmapname"
These built in CSS defintions allow you to change how the text in the JavaScript version looks. For example, if you want to change the color, size or font of the map's name, author name, score, etc.
If you look in the <HEAD> section of the sample HTML/JavaScript files (sample1.html), you'll see a <STYLE></STYLE> block that defines style sheets for the page.
".mrmapname" is the style that defines how the map's name is to be displayed. In the examples, the map's name will simply be displayed at the default font size and in black (#000) Since the map name is also a link, the "a:hover.mrmapname" style tells the browser to change the link color to red (#f00) when the mouse rolls over it. You can change the color that it's displayed in by simply changing the color value.
The other styles listed have the same effects on the other text that you can display with the javascript version. .mrscore affects the score of the map, for example.
Hope that's some help. Cascading Style Sheets can be pretty complex, but this should give you an idea of what they're there for :)
Here's a link where you can see all of the web-safe colors and their appropriate numbers. Just take the first number shown for the color (i.e. ff0066) and add a pound sign in front to use it in the style sheets (i.e. #ff0066)
Sure does! By the way, there are a couple of new maps for Unreal II due out in the very near future. They'll show up on that list as soon as the author's release them :)
Line 17
Char 5
Error 'ivertical' is undefined
Code 0
I know this is for ut2k3 maps, just a test.
<html>
<head>
<!-- Include the data file that you
want to use from the Mapraider.com server -->
<script language=
"JavaScript" src=
"http://www.mapraider.com/sharing/js/top10-ut2k3.js"></script>
<!-- include the library file below the data file -->
<script language="JavaScript" src="inc.mapraider.js"></script>
</head>
<body bgcolor="#ffffff">
<p>
<script>
<!--
// Call ShowMaps () to display the maps.
ShowMaps ( iVertical, 0, 0,
bShowName, bShowAuthor,
bShowScreenshot, bShowScore,
bShowRatings);
// -->
</script>
</p>
<p> </p>