We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSyntax Questions › Trouble viewing processing after uploaded
Page Index Toggle Pages: 1
Trouble viewing processing after uploaded (Read 755 times)
Trouble viewing processing after uploaded
May 9th, 2007, 4:51pm
 
I've uploaded the index.html code into a link on my website, and for some reason it works in only 20% of the computers I have tested. I just get a blank white screen where the artwork should be? Can anyone show me the correct code?

my web page is http://www.toddhanlon.com/love_pinot_noir/applet/index.html.

then the code is at http://www.toddhanlon.com/love_pinot_noir/applet/love_pinot_noir.html.

in the index file of my homepage i just have a link to the former. It works on most Mac powerbooks, but the school computers aren't working.
Thnx
Re: Trouble viewing processing after uploaded
Reply #1 - May 9th, 2007, 5:28pm
 
Your HTML is wrong,

Quote:
<applet code="index.html" archive="love_pinot_noir.jar"


Taht almost certainly shouldn't be "index.html" but the name of your sketch, "love_pinot_noir" (I presume)

Also, you're importing opengl, but not using it...
Re: Trouble viewing processing after uploaded
Reply #2 - May 9th, 2007, 8:08pm
 
Here is the code for my index page that links to the java page. Where should I insert the applet code? I want to link to a page the shows me the Love, Pinot Noir Java applet.
Thnx



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />


<title>Portfolio of Todd Hanlon </title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="verify-v1" content="TEHNE3GGkSnWnaP5oO5KRZoomczmjAw7Io8JKTnphGw=" />
<meta name="description" content="Todd Hanlon is a junior at Hunter College, currently applying for internships in the extremely competitive electronic publishing industry." />
<meta name="keywords" content="Todd Hanlon, Todd one, Todd 1, Hunter College Art Club, Le Blue, Le Blue Mag, Le Blue Jean" />
<link rel="stylesheet" href="css/portfolio.css" type="text/css" /></head>

<body>
<table id="header">
<tr>
<th>
<img src="images/ivy.jpg" alt="Header image" width="400" height="140" border="0" />
</th>

<th class="left"><span class="style7">Portfolio of </span><br/><span class="style3">Todd Hanlon</span></th>
</tr>
</table>

<table border="0" cellspacing="0" cellpadding="5" width="155" id="navigation">


   
     <tr>
       <td width="155"><a href="writing.html" class="style7">Writing Samples</a></td>

 </tr>
 <tr>
         <td width="155"><a href="Autobiography.html">Biography </a></td>
     </tr>
     <tr>
       <td width="155"><a href="Mac_Resume_Web_07.html">Resume</a></td>
     </tr>
 
 
     <tr>
       <td width="155"><a href="Slideshow.html"><em>City Nights</em> - Art </a></td>
     </tr>
     
     <tr>
       <td width="155"><a href="http://web.mac.com/hanlon_one/iWeb/LeBlueMag/May2006.html"><em>Le Blue Jean Magazine</em></a></td>
 </tr>
 
    <tr>
       <td width="155"><a href="logos.html">Logos</a></td>
 </tr>
<tr>
       <td width="155"><h3 class="style16">Java: </h3>
     
<tr width="155">
<td>
<a href="underthemoon/applet/index.html"><em>Under the Moon</em></a>  </td>
 </tr>
 <tr width="155">
 <td><a href="love_pinot_noir/applet/index.html"><em>Love, Pinot Noir </em></a></td>
 </tr>
</td>
     </tr>
     

</table>
<div id="content">
<p class="style9">Projects and Exhibitions </p>
 <ul><li class="style7"><span class="style9">City Nights Series</span><br />
     <span class="style7">A collection of artwork reminiscent of lost friends and insighful of future endeavors. </span><br />
       <br />
    </li>
 <li class="style7"> <span class="style9">Le Blue Jean Magazine</span><br />
         Anything but typical this magazines blends high and low culture, as the background color of blue jeans grace the fashion pages while ads for French restaurants streak the foreground. <br /><br />
       </li>
             
 
       <li class="style7"> <span class="style9">Java Interactive Artwork</span><br />
           The New York City Skyline twinkles with animated stars in <em>Under the Moon. </em><em>Love, Pinot Noir</em> is a bunch of  3-diminesional  grapes with mouse-controlled lighting.<br />
           </li>
     </ul>
</div>

 <object id="flash" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="157" height="200" title="todd headshot">
   <param name="movie" value="images/todd_headshot.swf" />
   <param name="quality" value="high" />
   <embed src="images/todd_headshot.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="157" height="200"></embed>
 </object>



</body>
</html>
Re: Trouble viewing processing after uploaded
Reply #3 - May 9th, 2007, 8:17pm
 
The page was right, it was just one of the values that is wrong, in http://www.toddhanlon.com/love_pinot_noir/applet/index.html the code="index.html" is what's wrong, it needs to be code="love_pinot_noir" or whatever the name of your sketch is in processing.
Re: Trouble viewing processing after uploaded
Reply #4 - May 9th, 2007, 8:47pm
 
hey can you tell me what the exact line of code is and where it needs to be? do i link to love_pinot_noir.html in an <a href>? or link to a file with another extension?
Re: Trouble viewing processing after uploaded
Reply #5 - May 9th, 2007, 9:07pm
 
Edit:
Quote:
http://www.toddhanlon.com/love_pinot_noir/applet/index.html


Change:
Quote:
<applet code="index.html" archive="love_pinot_noir.jar"


To:
Quote:
<applet code="love_pinot_noir" archive="love_pinot_noir.jar"
Re: Trouble viewing processing after uploaded
Reply #6 - May 9th, 2007, 10:00pm
 
I fixed this, and it continues to work on mine, but on another PC, only the underthemoon works. The grapes don't work.
Re: Trouble viewing processing after uploaded
Reply #7 - May 9th, 2007, 10:21pm
 
The problem now is that your sketches need the JSyn plugin to be installed by people to be able to run them.
Re: Trouble viewing processing after uploaded
Reply #8 - May 10th, 2007, 12:18am
 
But I installed the Jsyn .jar files in my code. That isn't good enough? The JSyn is for sound right? Should I just delete the sound?
Re: Trouble viewing processing after uploaded
Reply #9 - May 10th, 2007, 8:47am
 
Unfortunately not, people need to install JSyn themselves manually to be able to view it.
Page Index Toggle Pages: 1