Hi Colin,

Thanks for the info. Did as you suggested and tested the HTML. There were 
six errors, all of which were due to the way Foundation uses li tags in the 
nav bar dropdown menu. As this section is unrelated to the search feature, 
I removed these tags and revalidated. There was also a warning about the 
icon I'm using in the search submit button, so I replaced that with the 
text 'GO'. With those changes, the document validated. (I was also careful 
to validate the HTML which includes the flash message.) Unfortunately, 
these changes did not alter the flash behavior.

Also, I check the dev console in Chrome, and the only problem I could with 
JavaScript was a warning about a deprecated method in jQuery:
event.returnValue is deprecated. Please use the standard 
event.preventDefault() instead. 

Thanks anyway!

On Thursday, December 12, 2013 10:31:38 PM UTC+2, Colin Law wrote:
>
> On 11 December 2013 10:37, joshukraine <joshu...@gmail.com <javascript:>> 
> wrote: 
> > ... 
> > In Chrome and FireFox this works exactly as expected. The flash appears 
> for 
> > one request, then disappears. However, in Safari, once the flash comes 
> up it 
> > never goes away for that page 
>
> I can't see exactly how it might cause the problem you are seeing, but 
> often differences in appearance between browsers is due to html or 
> javascript errors on the page.  In the browser view the page source 
> and copy/paste the complete page source into the w3c html validator 
> [1].  That will show you whether there are any errors.  Fix them even 
> if you think that the error should not cause the problem you are 
> seeing.  Use something like firebug to check for javascript errors. 
>
> Another thing to do is to compare the logs when running the two 
> browsers to see if there is any difference. 
>
> Colin 
>
> [1] http://validator.w3.org/#validate_by_input 
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/5c0b3d04-da16-4559-b6d3-c022c4d29c12%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to