You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

Tabs with history plugin throws "secure and nonsecure" items warning in IE6 Created Sep 9, 2009

This thread is solved

Views: 4976     Replies: 17     Last reply Nov 23, 2011  
You must login first before you can use this feature

Matt

Posts: 12

Registered:
Sep 9, 2009

Tabs with history plugin throws "secure and nonsecure" items warning in IE6

Posted: Sep 9, 2009

As the title says, using the new 1.1.0 version, when adding history to the code below I get the old "This page contains both secure and nonsecure items" every time the page loads. Since I have tabs on most pages this isn't going to work too well.

As soon as I remove .history() the error disappears.


$("ul.INDUSTRY_tabs").tabs("div.INDUSTRY_panes > div").history();

Any way to have the history functionality in IE6, but without the error popping up?

Tero
Author of jQuery Tools and this website + JavaScript developer of Flowplayer.

Posts: 1867

Registered:
Nov 16, 2007

» Tabs with history plugin throws "secure and nonsecure" items warning in IE6

Posted: Sep 9, 2009

Reply to: Tabs with history plugin throws "secure and nonsecure" items warning in IE6, from gudgee
Hello. Is your main site possibly under https- protocol? I've never encountered those problems. I'm using IE6 under IETester:

http://www.my-debugbar.com/wiki/IETester/HomePage

Do you get those same problems on our site with your IE6

http://flowplayer.org/tools/demos/tabs/history.html

Matt

Posts: 12

Registered:
Sep 9, 2009

» » Tabs with history plugin throws

Posted: Sep 10, 2009

Reply to: » Tabs with history plugin throws "secure and nonsecure" items warning in IE6, from tipiirai
Sorry. My main site is indeed using https. I don't know how I left that out of my post, it is kind of crucial information!

I'm using your tabs for an intranet setup.

EDIT: I'm not sure if this site is relevant, or similar at all? But after a quick google that was about all I could find.
http://drupal.org/node/167887

Tero
Author of jQuery Tools and this website + JavaScript developer of Flowplayer.

Posts: 1867

Registered:
Nov 16, 2007

» » » Tabs with history plugin throws

Posted: Sep 10, 2009

Reply to: » » Tabs with history plugin throws , from gudgee
argh. a fairly irrittating bug to hunt given the fact that I need to enable https on my development server. I try to make a fix about this on the upcoming 1.1.1 release during this month. Meanwhile you can disable your histroy support from IE6 only like this.


var tabs = $("ul.tabs").tabs("__your config_");
if (!$.browser.msie OR $.browser.version > "6") {
  tabs.history();
}

replace that OR with two pipes. I couldn't find those characters on my freaking MacBook.

Matt

Posts: 12

Registered:
Sep 9, 2009

» » » » Tabs with history plugin throws

Posted: Sep 10, 2009

Reply to: » » » Tabs with history plugin throws , from tipiirai
Thanks for the reply Tero.

As you saw from my other post I also have scrollable working and I'm loving these tools on the site.

Unfortunately this office environment is still IE6 based, so I will have to leave out history support for the time being.

Tero
Author of jQuery Tools and this website + JavaScript developer of Flowplayer.

Posts: 1867

Registered:
Nov 16, 2007

» » » » » Tabs with history plugin throws

Posted: Sep 10, 2009

Reply to: » » » » Tabs with history plugin throws , from gudgee
just to let you know that I have fixed your issue. Here is the beta version of the history plugin that you can try:

http://beta.flowplayer.org/js/tools/tools.tabs.history-1.0.0.min.js

Matt

Posts: 12

Registered:
Sep 9, 2009

» » » » » » Tabs with history plugin throws

Posted: Sep 11, 2009

Reply to: » » » » » Tabs with history plugin throws , from tipiirai
Thanks for the quick reply and work Tero, I haven't had time to test it today unfortunately, but I should have time come Monday and will get back to you then.

Thanks again!

Matt

Posts: 12

Registered:
Sep 9, 2009

» » » » » » Tabs with history plugin throws

Posted: Sep 14, 2009

Reply to: » » » » » Tabs with history plugin throws , from tipiirai
Hey Tero,

Was able to try the history beta, but it didn't work on my end.

I have tabs, scrollable and navigator in one js file, and then uploaded the history beta. Then re-added ".history()" to the tabs load and the issue has returned.

Tero
Author of jQuery Tools and this website + JavaScript developer of Flowplayer.

Posts: 1867

Registered:
Nov 16, 2007

» » » » » » » Tabs with history plugin throws

Posted: Sep 14, 2009

Reply to: » » » » » » Tabs with history plugin throws , from gudgee
I noticed that if you click on the link I provided it silently switches from beta.flowplayer.org to flowplayer.org domain. Those two domains provide different files. Make sure you are indeed using this file:

http://beta.flowplayer.org/js/tools/tools.tabs.history-1.0.0.min.js

Use the beta subdomain. Also include this file AFTER the other jQuery Tools files.

Matt

Posts: 12

Registered:
Sep 9, 2009

» » » » » » » » Tabs with history plugin throws

Posted: Sep 14, 2009

Reply to: » » » » » » » Tabs with history plugin throws , from tipiirai
Still no luck unfortunately.

It is definitely loaded after the other Tools js file.

It now says "an error has occurred, do you wish to debug". The error occurs on line 14 saying "object doesn't support this method or property", and if I debug, the history js file comes up in the editor with this text highlighted yellow:


m=j.getConf().initialIndex

Tero
Author of jQuery Tools and this website + JavaScript developer of Flowplayer.

Posts: 1867

Registered:
Nov 16, 2007

» » » » » » » » » Tabs with history plugin throws

Posted: Sep 14, 2009

Reply to: » » » » » » » » Tabs with history plugin throws , from gudgee
hello. is it possible for you to give the URL to your page? You can also send it by email: support [at] flowplayer . org

Matt

Posts: 12

Registered:
Sep 9, 2009

» » » » » » » » » » Tabs with history plugin throws

Posted: Sep 14, 2009

Reply to: » » » » » » » » » Tabs with history plugin throws , from tipiirai
Unfortunately I can't because it's on an internal intranet page, and that's why we are using the https. :(

Tero
Author of jQuery Tools and this website + JavaScript developer of Flowplayer.

Posts: 1867

Registered:
Nov 16, 2007

» » » » » » » » » Tabs with history plugin throws

Posted: Sep 15, 2009

Reply to: » » » » » » » » Tabs with history plugin throws , from gudgee
OK. Can you try with this version:

http://piimaa.info/js/tools/tools.tabs.history-1.0.1.js

Here is the minified one

http://piimaa.info/js/tools/tools.tabs.history-1.0.1.min.js

Matt

Posts: 12

Registered:
Sep 9, 2009

» » » » » » » » » » Tabs with history plugin throws

Posted: Sep 16, 2009

Reply to: » » » » » » » » » Tabs with history plugin throws , from tipiirai
Success!

These versions don't throw the error.

Great work Tero. :) Thanks again.

Tero
Author of jQuery Tools and this website + JavaScript developer of Flowplayer.

Posts: 1867

Registered:
Nov 16, 2007

» » » » » » » » » » » Tabs with history plugin throws

Posted: Sep 16, 2009

Reply to: » » » » » » » » » » Tabs with history plugin throws , from gudgee
great. good to hear. concider this bug fixed and this thread solved.