Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 Javascript in .asp
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

RebelTech
Average Member

USA
613 Posts

Posted - 08 October 2003 :  01:10:38  Show Profile  Visit RebelTech's Homepage  Send RebelTech an ICQ Message
I found a asp/javascript/database rss parser that I want to use on my portal page. It is called grabnews. I struggled and finally got it called from my portal page with no errors. I now two more problems. First, the thing does not appear where I included it. It appears at the top of my page, above my portal header. How can I move it?
Second, the hover color on this script works but the text color must be the same as that on my portal rendering it invisible. The background color of this table is close to my portal text. I tried to change the colors in the script via A: FONT-Color etc... HELP

RebelTech
Average Member

USA
613 Posts

Posted - 08 October 2003 :  01:37:13  Show Profile  Visit RebelTech's Homepage  Send RebelTech an ICQ Message
Okay, Problem #2, with the color is solved. Now Can anyone tell how to get this mammerjammer to show up in the page where I tell it to?
Go to Top of Page

RebelTech
Average Member

USA
613 Posts

Posted - 08 October 2003 :  02:14:03  Show Profile  Visit RebelTech's Homepage  Send RebelTech an ICQ Message
Here is the xls code. Maybe this will help diagnose.


<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" encoding="ISO-8859-1" omit-xml-declaration="yes" indent="yes"/>

<xsl:template match="*">
<table border="0" align="center">
<tr><td valign="top" align="center" class="title" width="200" bgcolor="#666698" background="../forum/images/headbg.gif" >
<a>
<xsl:attribute name="href">
<xsl:value-of select="*[local-name()='channel']/*[local-name()='link']"/>
</xsl:attribute>
<xsl:attribute name="target">
<xsl:text>top</xsl:text>
</xsl:attribute>
<xsl:value-of select="*[local-name()='channel']/*[local-name()='title']"/>
</a>
</td></tr><tr><td valign="top" bgcolor="#8888AA" class="headlines" width="200">
<ul>
<xsl:for-each select="//*[local-name()='item']">
<xsl:if test="position() < 10">
<li>
<a>
<xsl:attribute name="href">
<xsl:value-of select="*[local-name()='link']"/>
</xsl:attribute>
<xsl:attribute name="target">
<xsl:text>top</xsl:text>
</xsl:attribute>
<xsl:value-of select="*[local-name()='title']"/>
</a>
</li>
</xsl:if>
</xsl:for-each>
</ul>
<div align="right"><a href="http://www.edazzle.net/#grabnews" title="powered by grabnews">?</a></div>
</td></tr>
</table>
</xsl:template>

<xsl:template match="/">
<xsl:apply-templates/>
</xsl:template>

</xsl:stylesheet>
Go to Top of Page

RebelTech
Average Member

USA
613 Posts

Posted - 08 October 2003 :  10:10:21  Show Profile  Visit RebelTech's Homepage  Send RebelTech an ICQ Message
quote:
Originally posted by RebelTech

Okay, Problem #2, with the color is solved. Now Can anyone tell how to get this mammerjammer to show up in the page where I tell it to?



I got it working with:

<%
Server.Execute ("../grabnews/news2.asp") 
%>
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.26 seconds. Powered By: Snitz Forums 2000 Version 3.4.07