Keeping the border in the final product

Questions regarding the authoring of Viewlets, installation or possible bugs with our products. For urgent issues, please use our support form on our website: http://www.qarbon.com/help/helpme.php

Keeping the border in the final product

Postby SusanS on Fri Jul 09, 2010 6:19 am

ViewletBuilder allows you to create a border within your .qvp. But when I add the simple skin while publishing my viewlet it goes away. Can anyone suggest a way to keep that border? Or to create another one? We are limited by governmental requirements in the size of our Viewlets, so we are unable to use any of the skins that would provide nice (think) borders. WE do however require a 1 pixel boarder preferably in a blue-grey colour.
SusanS
User
 
Posts: 1
Joined: Mon Mar 08, 2010 9:24 am
Are you a spammer or a BOT?: No

Re: Keeping the border in the final product

Postby Andrew on Fri Jul 09, 2010 9:18 am

You could Edit the html frame, and add a <table> tag around the script tag that draws the blue gray border.
Something like this...

Code: Select all
     <table border="0" cellspacing="0" cellpadding="0"><tr><td style="border: 1px #4d6397 solid;">
      <script type="text/javascript" language="JavaScript">
      <!--
      var flashTag = new FlashTag("$VIEWLET_MOVIE$", "$VIEWLET_WIDTH$", "$VIEWLET_HEIGHT$");
      flashTag.setId("$VIEWLET_NAME$");
      flashTag.addParameter("allowScriptAccess", "always");
      if(!$VIEWLET_IS_SCALED$)
        flashTag.addParameter("scale", "noscale");
      flashTag.addParameter("SeamlessTabbing", "false");
      flashTag.setFlashvars("__variables__="+getParameters()+"$VIEWLET_PARAMETERS$");
      flashTag.write(document);
      //-->
      </script>
    </td></tr></table>
Andrew Branch
User avatar
Andrew
Site Admin
 
Posts: 187
Joined: Fri May 26, 2006 1:51 pm
Location: Rochester, NY


Return to Discussions

Who is online

Users browsing this forum: No registered users and 1 guest