MapTools.org

FW: [Chameleon] Hidden Text

Paul Spencer spencer@dmsolutions.ca
Fri, 09 Jan 2004 15:15:12 -0500
Tracy,

I am sure that there are a bunch more things in there that could output 
text.  We'll try to clean them up for the next release.

Cheers,

Paul

Tracy Howlett wrote:

> I was wondering why I hadn’t heard anymore about this but I guess it is 
> because it ended up being a private discussion.  Anyone else come across 
> this problem?
> 
>  
> 
> ------------------------------------------------------------------------
> 
> *From:* Tracy Howlett [mailto:thowlett@whistlermuseum.org]
> *Sent:* Saturday, January 03, 2004 1:13 PM
> *To:* 'jfournier@dmsolutions.ca'
> *Subject:* RE: [Chameleon] Hidden Text
> 
>  
> 
>  
> 
> Hi Jason,
> 
>  
> 
> I tried removing those breaks before your response so I can tell you 
> that it doesn’t work.  Neither did your new file.
> 
>  
> 
> I only installed Chameleon about 3 weeks ago so it should have been a 
> fairly recent build.  I noticed that someone else asked the same 
> question a while back and I couldn’t find a response.  Maybe I’ll search 
> back and send him a note to see if he got it fixed.
> 
>  
> 
> Tracy
> 
>  
> 
> ------------------------------------------------------------------------
> 
> *From:* Jason Fournier [mailto:jfournier@dmsolutions.ca]
> *Sent:* Saturday, January 03, 2004 12:19 PM
> *To:* thowlett@whistlermuseum.org
> *Subject:* Re: [Chameleon] Hidden Text
> 
>  
> 
> Tracy,
> 
> If you look in the source of the file you attached (ie, 
> ContextSelector.widget.php) you'll find a function called 
> 'GetHTMLHiddenVariables()' beginning on line 172.  Inside this function 
> are all the hidden variables required for this widget.  You'll notice 
> that there are <BR>'s included at the end of each hidden variable 
> declaration.  I'm not sure why they are there but you can safely remove 
> them - they are the cause of the white space.  The lines containing the 
> <BR>'s to remove are as follows:
> 
> 180
> 184
> 188
> 192
> 225
> 230
> 238
> 
> I have also attached the file you sent modified with these changes.  To 
> test this file please make a backup of  
> /chameleon/htdocs/widgets/ContextSelector.widget.php and place the 
> attached file in that directory.
> 
> Let me know if that works.  If it does could you please post this 
> message to the entire list ... others may be encountering this problem.
> 
> Please note that the current build of Chameleon contains this fix.
> 
> Thanks!
> Jay
> 
> 
> 
> 
> Tracy Howlett wrote:
> 
> Jason, 
> 
>  
> 
> If I am using the contextselector widget it is not consciously.  I just took
> 
> the Chameleon sample and built on it.  What is the ContextSelector widget
> 
> for??  I've checked the source code and it does seem that 22 lines of
> 
> 'hidden' text are being added including references to the contextselector
> 
> variables.
> 
>  
> 
> Here is the link to my application.
> 
> http://www.chirpwhistler.info/mapping/CHiRP.phtml
> 
>  
> 
> And here is my ContextSelector.Widget file.
> 
>  
> 
> Thanks!
> 
>  
> 
> Tracy
> 
>  
> 
> -----Original Message-----
> 
> From: chameleon-admin@lists.maptools.org <mailto:chameleon-admin@lists.maptools.org>
> 
> [mailto:chameleon-admin@lists.maptools.org] On Behalf Of Jason Fournier
> 
> Sent: Friday, January 02, 2004 11:16 AM
> 
> To: thowlett@whistlermuseum.org <mailto:thowlett@whistlermuseum.org>
> 
> Cc: chameleon@lists.maptools.org <mailto:chameleon@lists.maptools.org>
> 
> Subject: Re: [Chameleon] Hidden Text
> 
>  
> 
> Hi Tracy,
> 
>  
> 
> Are you, by chance, using the ContextSelector widget?  I did a little 
> 
> bit of research and found that, in some cases, the ContextSelector 
> 
> outputted <br>'s after each Hidden Variable it wrote out to the page.  
> 
> Please view the source of your page and look for the Hidden Variables 
> 
> (they should be just after the <BODY> tag).  If this is in fact the case 
> 
> could you please email me the ContextSelector.widget.php file from your 
> 
> /chameleon/htdocs/widgets/ directory?
> 
>  
> 
> Do you have a publicly available URL of your application?  I could take 
> 
> a look at the output as well.
> 
>  
> 
> Thanks,
> 
> Jason
> 
>  
> 
>  
> 
>  
> 
> Tracy Howlett wrote:
> 
>  
> 
>   
> 
>>Hi,
>>
>> 
>>
>>I've seen this question posted a couple of times but haven't found an
>>
>>    
> 
> answer
> 
>   
> 
>>yet!  I've got my application working fine now but when the page loads
>>
>>    
> 
> there
> 
>   
> 
>>is a bunch of space at the top of the page.  I am pretty new to html
>>
>>programming but I figure this is because of all the hidden text?  Is there
>>
>>    
> 
> a
> 
>   
> 
>>way to make the application load at the top of the page and leave the
>>
>>    
> 
> hidden
> 
>   
> 
>>stuff at the bottom?  I've tried moving the code but that doesn't seem to
>>
>>make any difference.
>>
>> 
>>
>>Cheers and Happy New Year,
>>
>> 
>>
>>Tracy
>>
>> 
>>
>> 
>>
>>_______________________________________________
>>
>>Chameleon mailing list
>>
>>Chameleon@lists.maptools.org <mailto:Chameleon@lists.maptools.org>
>>
>>http://lists.maptools.org/mailman/listinfo/chameleon
>>
>> 
>>
>> 
>>
>> 
>>
>>    
> 
>  
> 
>   
> 
>  
> 
> -- 
> 
>  --
> 
>  |Jason Fournier
> 
>  |DM Solutions Group
> 
>  |Application Developer
> 
>  |Ottawa, ON
> 
>  |613.565.5056 x 18
> 
>  |jfournier@dmsolutions.ca <mailto:jfournier@dmsolutions.ca>
> 
>  --
> 

-- 
  -----------------------------------------------------------------
|Paul Spencer                           spencer@dmsolutions.ca    |
|-----------------------------------------------------------------|
|Applications & Software Development                              |
|DM Solutions Group Inc                 http://www.dmsolutions.ca/|
  -----------------------------------------------------------------



This archive was generated by Pipermail.