Use existing markup - add a image map, XML & SOFSIM |
Use existing markup - add a image map, XML & SOFSIM |
RWW |
Apr 5 2007, 10:12 AM
Post
#1
|
Group: Members Posts: 1 Joined: 5-April 07 Member No.: 2,441 |
This is the existing mark up:
<HTML> <HEAD> <script language="javascript" src="<@CrossDomainJS@>"> </script> <META http-equiv="Content-Type" content="text/html; charset=<@Charset@>"> <TITLE><@TitlePage@></TITLE> <@JavaScript@> </HEAD> <BODY topmargin=0 leftmargin=0 rightmargin=0> <TABLE width="100%" border=0> <TBODY> <TR> <TD width="35%"><IMG SRC="logo.jpg" BORDER=0><BR><BR></TD> <TD valign=top><H1><@LessonName@></H1></TD></TR> <TR> <TD align=right width="35%"><B><@TitleAuthor@></B></TD> <TD><@Author@></TD></TR> <TR> <TD align=right width="35%"><B><@TitlePublicDate@></B></TD> <TD><@PublishDate@></TD></TR> <TR> <TD align=right width="35%"><B><@TitleDescription@></B> </TD> <TD valign=top> <@Description@> </TD></TR> <@ReviewerIntroduction@> <TR> <TD align=right width="35%"><B><@TitleCopyright@></B></TD> <TD><@Copyright@></TD></TR> <TR> <TD align=right width="35%"></TD> <TD><BR></TD></TR> <TR> <TD width="35%" align=center valign=center> </TD> <TD valign=top> <P><B><a href="java script:showPlayback(2)"><@TitleLinkTo@></a></B></P> </TD></TR></TBODY> </TABLE> </BODY> </HTML> What I have done is drop the table information and added a image map to replace the the link. <HTML> <BODY> <DIV ALIGN=CENTER> <MAP NAME="Demo_Menu"> <AREA HREF="java script:showPlayback(1)" SHAPE=RECT COORDS="396,62,814,86"> </MAP> <IMG SRC="Demo_Menu.jpg" USEMAP="#Demo_Menu"><BR> </DIV> <BODY> </HTML> When I generate a SOFSIM using this XML -SOFSIM will not create files on the destination folder. What am I missing? |
Darin McGrew |
Apr 5 2007, 11:51 AM
Post
#2
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
Can you provide the URL (address) of a document that demonstrates the problem?
Also, you should use the HREF attribute for a real URL, and move the JavaScript to an ONCLICK event handler. |
Lo-Fi Version | Time is now: 26th April 2024 - 02:20 PM |