Re: [jQuery] ThickBox in Filemanager

2006-11-01 Thread Olaf Bosch
[EMAIL PROTECTED],
i works to on this ;)

I have a great Problem with this. I will suport WMV-Video in Thickbox
and have implement this.
Works in Opera 9.01 perfekt, in IE6 or 5 a little bit buggy, work!
In Firefox 2.0 absoltue caos! Freeze, going down, and other shit...

The problem is acut when the Thickbox closed, alert is:

*Unerlaubter Vorgang in Plugin
Windows Media Player Plug-In Dynamic Lybrary*

The Video isn't to see also your here the noise ;)

To resolve this you must click on:

  This is the Problem:
  history.wmv - WMV-Datei

close the Thickbox often to reproduce.

the link http://olaf-bosch.de/bugs/jquery/fileman/
script see http://olaf-bosch.de/bugs/jquery/fileman/jquery_box.js



-- 
Viele Grüße, Olaf

---
[EMAIL PROTECTED]
http://olaf-bosch.de
www.akitafreund.de
---

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ThickBox in Filemanager

2006-11-01 Thread Olaf Bosch
Olaf Bosch schrieb:

 i works to on this ;)

a little bit better.

i have in
function TB_remove() {

the ID from the object-TAG to first.
No Freeze more in Firefox, ever not Video to see and the error from 
Plugin :(

-- 
Viele Grüße, Olaf

---
[EMAIL PROTECTED]
http://olaf-bosch.de
www.akitafreund.de
---

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ThickBox in Filemanager

2006-10-18 Thread Dan Atkinson

PDFs in object tags have numerous problems and the widespread consensus is
generally not to use such things.

PDFs in iframes are possible (https://secure.marketech.us/php/framedemo/),
and I might just retract what I said earlier if I can get a PDF to open in a
thickbox iframe.


Michael Geary wrote:
 
 Well, as I've already said, you won't be able to show the PDF 
 in a thickbox, because the OS/browser will catch the link and 
 try to open it using the default action set in the browser or 
 OS, and there's nothing that you can do to override it. If no 
 default action is set, then you -might- be able to open it in 
 the browser. But let's be honest, the percentage of users 
 without a PDF reader is pretty small (probably the same 
 percentage as those browsing the web on an Amiga 1200. :-)
 
 As far as I know, there is no ability to read PDF's inline 
 like you're trying to do, and trying to force PDFs to open in 
 a small window just isn't practical, and users won't like it 
 if you force it upon them.
 
 If you can load HTML into the thickbox, you can easily load a PDF file.
 Simply use an iframe or object tag. For some examples:
 
 http://www.google.com/search?num=100q=pdf+iframe
 
 http://www.google.com/search?num=100q=pdf+%22object+tag%22
 
 -Mike
 
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/ThickBox-in-Filemanager-tf2455670.html#a6871575
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ThickBox in Filemanager

2006-10-17 Thread Dan Atkinson

I'm not sure how it all works fine if it doesn't work at all...

As far as I can tell, you open a thickbox for links like xls and doc files,
and the browser tries to save it. Or open it in its default application.

This is because saving or opening is the default action of the browser for
that particular filetype. This is also the reason why your PDF link will not
work.

Even if it worked, the user would still need to have the appropriate
programs on their computer to view them.


Olaf wrote:
 
 Hi at all,
 i will Thickbox use in a Filemananger (CMS), all works fine. The Problem
 is that, it cane various Files stored. *.xls *.doc or others.
 When click of this types is PopUp open and Downloaddialog is open, can i
 say is this types than no PopUP!??
 
 With *.zip all to late ;) then freeze Firefox 1.5
 
 Other question, i have Links so:
 http://localhost/***/media/ank.pdf?KeepThis=trueamp;TB_iframe=trueamp;height=500amp;width=800
 
 The Autor write on ThickboxDemo Site this works, do it not for me. What to
 do?
 
 

-- 
View this message in context: 
http://www.nabble.com/ThickBox-in-Filemanager-tf2455670.html#a6851687
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ThickBox in Filemanager

2006-10-17 Thread Dragan Krstic
Try to put xml definition in your xml file on begining. Without it, browser parse it like ordinary text file2006/10/17, Olaf Bosch [EMAIL PROTECTED]
:Dan Atkinson schrieb: I'm not sure how it all works fine if it doesn't work at all...
Oh, sorry.I work on the Script. I have mutch change.1 Demo says more than 1000 (english) Words;)Look this:http://olaf-bosch.de/bugs/jquery/fileman/
Works fine with this Types what i have say what to do in the jquer_box.jsNow i search for a method to call all other types.For this is enough a Alert.Can help?--Viele Grüße, Olaf
---[EMAIL PROTECTED]http://olaf-bosch.dewww.akitafreund.de
---___jQuery mailing listdiscuss@jquery.comhttp://jquery.com/discuss/
-- Dragan Krstić krdrhttp://krdr.ebloggy.com/
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ThickBox in Filemanager

2006-10-17 Thread Dan Atkinson

Well, as I've already said, you won't be able to show the PDF in a thickbox,
because the OS/browser will catch the link and try to open it using the
default action set in the browser or OS, and there's nothing that you can do
to override it. If no default action is set, then you -might- be able to
open it in the browser. But let's be honest, the percentage of users without
a PDF reader is pretty small (probably the same percentage as those browsing
the web on an Amiga 1200. :-)

As far as I know, there is no ability to read PDF's inline like you're
trying to do, and trying to force PDFs to open in a small window just isn't
practical, and users won't like it if you force it upon them.

At the end of the day, I'm really not sure that you can override the
browsers default file actions because it borders on security (for example,
if this wasn't true, what's to stop a malicious programmer from malforming
JS to open executables without your permission?).


Olaf wrote:
 
 Dan Atkinson schrieb:
 I'm not sure how it all works fine if it doesn't work at all...
 
 Oh, sorry.
 
 I work on the Script. I have mutch change.
 
 1 Demo says more than 1000 (english) Words  ;)
 Look this:
 http://olaf-bosch.de/bugs/jquery/fileman/
 
 Works fine with this Types what i have say what to do in the jquer_box.js
 
 Now i search for a method to call all other types.
 For this is enough a Alert.
 
 Can help?
 
 
 -- 
 Viele Grüße, Olaf
 
 ---
 [EMAIL PROTECTED]
 http://olaf-bosch.de
 www.akitafreund.de
 ---
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/ThickBox-in-Filemanager-tf2455670.html#a6864654
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ThickBox in Filemanager

2006-10-17 Thread Olaf Bosch
Dragan Krstic schrieb:
 Try to put xml definition in your xml file on begining. Without it, browser
 parse it like ordinary text file

What is to do? That is a google-sitemap, is valid

you mean this
?xml version=1.0 encoding=UTF-8 ?

is exact so in first line

-- 
Viele Grüße, Olaf

---
[EMAIL PROTECTED]
http://olaf-bosch.de
www.akitafreund.de
---

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ThickBox in Filemanager

2006-10-17 Thread Olaf Bosch
Dan Atkinson schrieb:
 Well, as I've already said, you won't be able to show the PDF in a
 thickbox, because the OS/browser will catch the link and try to open
 it using the default action set in the browser or OS, and there's
 nothing that you can do to override it. If no default action is set,
 then you -might- be able to open it in the browser. But let's be
 honest, the percentage of users without a PDF reader is pretty small

Yes, i understand. In my Firefox works PDF in normal Links to. In
ThickBox works that not for me :(

 As far as I know, there is no ability to read PDF's inline like
 you're trying to do, and trying to force PDFs to open in a small
 window just isn't practical, and users won't like it if you force it
 upon them.

Yes, is not good, here is not so important, this come in a Backend of a
CMS. For the Redaction is o.k., never will see the PDF in Filemanager to
often :)

I have the Window set to resizable, is better



-- 
Viele Grüße, Olaf

---
[EMAIL PROTECTED]
http://olaf-bosch.de
www.akitafreund.de
---

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ThickBox in Filemanager

2006-10-17 Thread Klaus Hartl


Olaf Bosch schrieb:
 Dragan Krstic schrieb:
 Try to put xml definition in your xml file on begining. Without it, browser
 parse it like ordinary text file
 
 What is to do? That is a google-sitemap, is valid
 
 you mean this
 ?xml version=1.0 encoding=UTF-8 ?
 
 is exact so in first line


putting an xml declaration on top doesn't make it xml automagically. 
mime type matters.


-- klaus

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ThickBox in Filemanager

2006-10-17 Thread Michael Geary
 Well, as I've already said, you won't be able to show the PDF 
 in a thickbox, because the OS/browser will catch the link and 
 try to open it using the default action set in the browser or 
 OS, and there's nothing that you can do to override it. If no 
 default action is set, then you -might- be able to open it in 
 the browser. But let's be honest, the percentage of users 
 without a PDF reader is pretty small (probably the same 
 percentage as those browsing the web on an Amiga 1200. :-)
 
 As far as I know, there is no ability to read PDF's inline 
 like you're trying to do, and trying to force PDFs to open in 
 a small window just isn't practical, and users won't like it 
 if you force it upon them.

If you can load HTML into the thickbox, you can easily load a PDF file.
Simply use an iframe or object tag. For some examples:

http://www.google.com/search?num=100q=pdf+iframe

http://www.google.com/search?num=100q=pdf+%22object+tag%22

-Mike


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ThickBox in Filemanager

2006-10-17 Thread Olaf Bosch
Klaus Hartl schrieb:

 putting an xml declaration on top doesn't make it xml automagically. 
 mime type matters.

mime type is on Apache corect:

application/xml xml xsl

copy from mime.types

the Header are:
--
Antwort-Header - http://sitemap.xml

Date: Tue, 17 Oct 2006 22:56:11 GMT
Server: Apache/2.0.54 (Debian GNU/Linux) PHP/4.4.4-0.dotdeb.1
Last-Modified: Sun, 15 Oct 2006 18:03:17 GMT
Etag: f4dc002-e1b5-55f20340
Accept-Ranges: bytes
Content-Length: 57781
Content-Type: application/xml

200 OK

-- 
Viele Grüße, Olaf

---
[EMAIL PROTECTED]
http://olaf-bosch.de
www.akitafreund.de
---

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/