Random tab open on page load?
If someone could figure this one out... oooo what a gem that
would be and good bye Flash.
I have a tabbed menu scripted and of course on a page load
the same tab and its content load everytime. Is it possible to have
a random tab open when the page loads in a browser?
Thank you in advance for your time!
Include SpryDOMUtils.js in your header (required for onload
listener)
Spry.Utils.addLoadListener(function(){
var
tabs =
5 //(amount of tabs u have)
TabbedPanels1.showPanel(Math.round(
tabs*Math.random())); //TabbedPanels1 beein the name of the
tabwidget constructor change to your own name.
);
Similar Messages
-
Firefox doesn't respond when opening a new tab until the page loads completely
When I open a page in a new tab, Firefox freezes until the new page loads completely. I can't switch tabs or do anything. It then works normally. Older versions of Firefox did not have this problem; it only started after I updated a few months ago. What can be done about this problem?
Thanks.Please check for the problem in [[safe mode|safe mode]].. does it work there?
-
Accordion tabs flash open on page load
My accordion is set to load with no panels open. But when the
page loads all panels remain open until everything from the page is
downloaded, then they close as they're supposed to. Is there a way
to keep them closed the whole time until a tab is clicked?
Thanks!This is great! Thank you so much! The widget is working
beautifully now with cookies enabled. I don't really have any idea
how it works, but it does!
The only problem now, that I didn't notice before I made
these last changes, adding the cookies effect, updating to v1.6.1,
and adding onDOMReady, and onDOMUtils.js, is that when I click a
link to a new page within the site that the browser hasn't loaded
yet (if I clear the cache first, then browse around), then every
new page flashes my default background color across the entire
screen before letting me see the new content. Once the pages have
been loaded and are in the cache, then I can navigate through them
nicely with only the main content area changing, rather than the
whole page. Is it possible to make it so that when new links are
clicked, the side and top navigation areas, which are the same on
all pages, stay visible while the new content is loaded?
Thanks again for your help! -
Spry Accordion menu opens on page load then closes
Hello,
I'm having issues with a SPRY Accordion menu loading with all of the tabs open, then closing once the page finishes loading.
Example page is here:
http://thesparkmachine.com/mca2009/academics
(site is still being worked on, so forgive any oddities)
Is this something that is occurring because of the large amount of material loading on the page at once? The site is Joomla!-based, and there are close to a dozen modules on the page, plus an random background image script.
Any advice would be helpful.
Thanks!I see you have also fixed your menu sections linking..
But i still wanted to give you some advice on why it opens and closes.
If you check out the source of your page, you will see that the constructor for your accordion is at the bottom of the page. When the browser loads the page, it parses from top to bottom, so it has parsed the accordion markup. But not yet the constructor for the accordion, so once it finally done with parsing the rest of the markup it finds the constructor and executes it.
What would have helpt, if you just moved the <script> with the constructor to directly under the accordion. So when the accordion markup has been parsed the brower directly executes the scripts. -
Accordion Tabs Closed on Page Load
How would I fix this page so all the accordions are closed on page load? I don't want the first tab to be open when a viewer opens the page.
Link is http://thedenovo.worldsecuresystems.com/solutions.htmlIf you use jQuery UI Accordion Widget, set Active to false.
http://api.jqueryui.com/accordion/
Nancy O. -
Disable tab/window priority page loading
I'm going to use youtube as an example, but this is true for many other sites.
Say I go to youtube.com and cmd-click on a couple links so they open in new tabs. The videos in those tabs won't begin loading until their tab is selected. Again, it's true for other sites as well. It seems like it's a sort of open tab/window priority loading feature. Is there any way to disable this so the tabs will start loading as soon as they're opened?Firefox 13+ versions have an about:newtab page that shows the thumbnails of recent visited websites.
see:
*https://support.mozilla.org/kb/new-tab-page-show-hide-and-customize-top-sites -
Major annoyance - Safari switching tabs/windows after page load
When I cmd-click on a link to open a page in a new tab, it starts to load the page. If I switch tabs or windows before the page is loaded, it will switch back to that tab/window when the page load is complete.
Who thought this would be a good idea?!? This is the kind of impossibly poor user interface that I expect when I run Windows. Why has it infected my Mac? I DO NOT WANT MY SOFTWARE CHANGING MY INTERFACE ON ME!!! When I bring a tab or window to the front, I expect it to STAY in the front!!!!!
PLEASE, FOR THE LOVE OF EVERYTHING SANE, FIX THIS NOW APPLE!!!BTW, this does not happen all the time - only on certain pages. A good example is the Washington Post. Click on an article, then switch to a different tab/window before the page completes loading. When the page load completes, it will switch your tab/window, bringing the article to the front. Very annoying.
I suppose if could be an issue with the site using some severely twisted JavaScript. However, I have never seen this behavior before in Safari until very recently, and it does not happen in FireFox. -
Firefox 3.6.6 Mac Tabs Unresponsive & Incomplete Page Loads
Ever since the 3.6.6 upgrade for Mac, running under OSX 10.6.4, my tabs load, but then I cannot select any of the "buried" tabs the mouse. The top tab "page load thermometer" at the bottom left of the status bar never completes to the point where it says "Done," despite the page being fully loaded and active. (The bar remains, showing about a 98% load....)
== This happened ==
Every time Firefox opened
== I upgraded to FF 3.6.6 MacThis must be the crappiest upgrade to Firefox. It's totally worthless. I'm currently now using Safari because of it because I don't want to bother with reloading a previous version of Firefox.
-
Dialog Box Open before Page load using af:CommandNavigationItem
Hi,
I have a CommandNavigationItem menu, the requirement is simple.
Use Case:
1. On click of one of the menu item, i need to display a message or prompt user to select "OK" or "Cancel"
2. If user clicks "OK" will navigate to the require page. and "Cancel" will stay on the page.
I have used couple of things like, creating a af:popup with a af:dialog and calling this popup from managed bean on page load, it works fine get a popup with a "OK" "Cancel" text. But the problem is it opens the popup fine but the parent page get loaded also.
Please help me to find any solution? Will appreciate your time!!
Thanks
Neeraj Halderthanks vinod,
I have tried but struggling with binding of the popup.
1. let say when i login to my application my first page is "homeView.jspx", so on homeView.jspx i have written the code for popup.
2. And in the menu i have "home" and "details", so when i click the "details" menu this popup should open, and on clicking ok it should navigate me to the Details page, as you suggested ActionListner for that.
Please see below what i have done till yet.
ActionListener Code:
/*code in jsp
actionListener="#{backingBeanScope.testViewBean.checkOnClickofDetails}"
/* code in java with a backing bean scope
private RichPopup validationMessageDialog;// popup id
public void checkOnClickofDetails(ActionEvent actionEvent) {
RichPopup.PopupHints popupHints = new RichPopup.PopupHints();
getValidationMessageDialog().show(popupHints); //
popup in homeView.jspx
<af:popup id="validationMessageDialog"
binding="#{backingBeanScope.testViewBean.validationMessageDialog}">
<af:dialog id="d3" cancelTextAndAccessKey="cancel"
dialogListener="#{backingBeanScope.testViewBean.loadDetails}"
title="Prompt">
<af:outputText value="#{msg.AGENT_NOT_FOUND}" id="ot3"/>
</af:dialog>
My doubt is i am doing something wrong with the scope of the managed bean. in the above code i have used backing bean scope,
let say i have a java file example ABC.java, which is a backing bean scope given in adfc-config.xml. can i use this one java file for two of three different jspx as a backing bean? Hope i am clear here? :)
2) when we create a jspx and its backing bean at a time, is there any internal mapping happen apart from adfc-config.xml that one jspx will have only one java file as a backing bean?
Sorry if i am making this more complicated, above question comes because, when i move the same popup code in "Details.jspx" page and at the time of creation of this page i have created backing bean also so when i calling this function on page load "checkOnClickofDetails" which is in the Details.java (backing bean) the popup comes fine. but unfortunately cannot use this because parent page get laoded with this popup also.
let me know if i am doing something wrong?
Thanks,
Neeraj Halder -
Spry Accordion open on page load
How do you stop the Spry Accordion from being open while the page is loading - as soon as the page loads the Accordion closes to the way it has been designed - it is just annoying!
Starting with All Panels Closed
This feature is only supported when using variable height panels, so you must pass a false into the Accordion's constructor for the "useFixedPanelHeights" constructor option, and a -1 for the "defaultPanel" option.
Gramps -
Firefox does not crash.
It is not unresponsive.
New websites can not be loaded.
Websites currently open in tabs are still able to be used and continue to work fine... all links in running websites seem to work.
Google is able to be loaded in a new tab (possibly because it had been run previously), search works but searched items can not be loaded.This forum is for the Shockwave Player - the plugin for running Adobe Director files in a browser. You need a forum for the Flash Player - the Shockwave Flash plugin. Blame Macromedia for confusing the name space of the 2 separate and distinct plugins
-
Accordion Panels Open During Page Load
All my accordion panels appear open for a second before my page completely loads. http://home.comcast.net/~steven.kay/
I found this thread, but am still not clear on the solution given. http://forums.adobe.com/message/22365#22365
Thanks.Never mind... I downloaded the new js file... (duh)
-
IE 11 open new tab opens new window, clicking open new tab opens black page in same tab
Hi I have a problem with IE11 on Windows 8.1 Desktop mode which is driving me crazy.
When i click on the open new tab button it will open in the same tab in the same window and you cant go to any website and the website on where on's address is still in the address bar.
Right click a link and select open new tab most of the time opens new window with long pause.
I have tried everything to fix this even re installing windows, but the problem persists after re install as i think its attaching itself to my Microsoft account.
I have disabled all add-ons run virus and walware scans reset IE to defaults removed and re-installed IE all to no avail!
Any help would be much appreciated.tried everything
http://support.microsoft.com/en-us/kb/2574731
(BING search for
blank tab regsrv32 ieproxy site:support.microsoft.com
Robert Aldwinckle -
Random Tabs Opening When I click a link
Hi, I'm currently using the latest version of firefox and when I click certain links, I get a new tab related to that link that I didn't open ex: survey/signup
First try check if this problem is caused by addons:
*[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Firefox in safe mode]
Try also scan your PC:
*[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-caused-malware Problems caused by malwares]
Try use a pop-up/ads block:
*[https://addons.mozilla.org/en-US/firefox/addon/adblock-plus Adblock Plus]
*[https://addons.mozilla.org/en-US/firefox/addon/adblock-plus-pop-up-addon Adblock Plus Pop-up Addon ]
*[https://addons.mozilla.org/en-US/firefox/addon/simple-adblock Simple Adblock]
*[https://addons.mozilla.org/en-US/firefox/search/?q=adblock More results] -
New Tab opens to random websites every 15 minutes
Here are the details of the random tab that opens every 15 minutes.
Application Basics
Name: Firefox
Version: 31.0
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0
Crash Reports for the Last 3 Days
All Crash Reports (including 2 pending crashes in the given time range)
Extensions
Name: Adblock Plus
Version: 2.6.3
Enabled: true
ID: {d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}
Name: Block site
Version: 1.1.8
Enabled: true
ID: {dd3d7613-0246-469d-bc65-2a3cc1668adc}
Name: Strict Pop-up Blocker
Version: 0.1
Enabled: true
ID: jid1-P34HaABBBpOerQ@jetpack
Name: Troubleshooter
Version: 1.1a
Enabled: true
ID: [email protected]
Name: Wondershare Video Converter Ultimate
Version: 7.0.0
Enabled: false
ID: {8D150B8F-EFE8-45a3-A4A3-053020F48FAC}
Graphics
Adapter Description: AMD Radeon R7 240
Adapter Drivers: aticfx64 aticfx64 aticfx64 aticfx32 aticfx32 aticfx32 atiumd64 atidxx64 atidxx64 atiumdag atidxx32 atidxx32 atiumdva atiumd6a atitmm64
Adapter RAM: 2048
Device ID: 0x6611
Direct2D Enabled: true
DirectWrite Enabled: true (6.3.9600.17111)
Driver Date: 9-10-2013
Driver Version: 13.152.1.1000
GPU #2 Active: false
GPU Accelerated Windows: 1/1 Direct3D 10
Vendor ID: 0x1002
WebGL Renderer: Google Inc. -- ANGLE (AMD Radeon R7 240 Direct3D9Ex vs_3_0 ps_3_0)
windowLayerManagerRemote: false
AzureCanvasBackend: direct2d
AzureContentBackend: direct2d
AzureFallbackCanvasBackend: cairo
AzureSkiaAccelerated: 0
Important Modified Preferences
browser.cache.disk.capacity: 358400
browser.cache.disk.smart_size_cached_value: 358400
browser.cache.disk.smart_size.first_run: false
browser.cache.disk.smart_size.use_old_max: false
browser.cache.frecency_experiment: 3
browser.places.smartBookmarksVersion: 7
browser.sessionstore.upgradeBackup.latestBuildID: 20140707160635
browser.startup.homepage: www.google.com.au
browser.startup.homepage_override.buildID: 20140707160635
browser.startup.homepage_override.mstone: 31.0
dom.mozApps.used: true
extensions.lastAppVersion: 31.0
gfx.direct3d.last_used_feature_level_idx: 0
network.cookie.prefsMigrated: true
places.database.lastMaintenance: 1404897208
places.history.expiration.transient_current_max_pages: 104858
plugin.disable_full_page_plugin_for_types: application/pdf
plugin.importedState: true
privacy.donottrackheader.enabled: true
privacy.sanitize.migrateFx3Prefs: true
privacy.sanitize.timeSpan: 4
storage.vacuum.last.index: 0
storage.vacuum.last.places.sqlite: 1404897208
JavaScript
Incremental GC: true
Accessibility
Activated: false
Prevent Accessibility: 0
Library Versions
NSPR
Expected minimum version: 4.10.6
Version in use: 4.10.6
NSS
Expected minimum version: 3.16.2 Basic ECC
Version in use: 3.16.2 Basic ECC
NSSSMIME
Expected minimum version: 3.16.2 Basic ECC
Version in use: 3.16.2 Basic ECC
NSSSSL
Expected minimum version: 3.16.2 Basic ECC
Version in use: 3.16.2 Basic ECC
NSSUTIL
Expected minimum version: 3.16.2
Version in use: 3.16.2
Experimental Features
Name: Search Experiment
ID: [email protected]
Description: Test alternate default search settings for users of Firefox beta.
Active: true
End Date: 1407398102966
Homepage:
I have scanned my pc with Mcafee and windows defender as well as Malware Bytes. I have also scanned my pc with Kaspersky TDSSKILLER and all found nothing wrong.
I am running windows 8.1
Other sites the random tab opens are: http://www.big-countries.com/canada.php
http://www.rich-countries.com/qatar.php
http://www.big-countries.pl/
http://www.rich-countries.net/switzerland.php
http://www.justin-bieber-best.pl/awards.php
http://www.big-countries.com/australia.php
http://www.big-countries.net/
http://www.rich-countries.com/switzerland.php
http://www.big-countries.pl/australia.php
http://www.rich-countries.com/germany.php
http://www.rich-countries.net/qatar.php
http://www.rich-countries.pl/germany.php
http://www.how-internet-works.com/sites_categorie.phpSometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
You can try these free programs to scan for malware, which work with your existing antivirus software:
* [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
* [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
* [http://support.kaspersky.com/viruses/disinfection/5350 Anti-Rootkit Utility - TDSSKiller]
* [http://general-changelog-team.fr/en/downloads/viewdownload/20-outils-de-xplode/2-adwcleaner AdwCleaner] (for more info, see this [http://www.bleepingcomputer.com/download/adwcleaner/ alternate AdwCleaner download page])
* [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
* [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
[http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
Did this fix your problems? Please report back to us!
Maybe you are looking for
-
Hi We have two date fields in the cube..Both are characterists 1. Requested delivery date 2. Actual delivery date. Now how can i calculate the difference of both the dates. Should i do it in query level or in some routine. Regards Rak
-
SSRS expression returns #error value in some cells
Hello, What do you think below expression sometimes return #error value in ssrs. =SUM(Fields!X.Value / 100 * DateDiff(DateInterval.Day,Fields!s_date.Value,Fields!e_date.Value)) / IIF( SUM(DateDiff(DateInterval.Day,Fields!s_date.Value,Fields!e_date.Va
-
Link to an external .js from PDF?
Using Acrobat 9 Pro, I have a PDF document that I want to link to an external .js file (for SCORM and LMS purposes). I have imported a multimedia object (swf) into the PDF and it needs to call several Javascript functions. Instead of copy/pasting e
-
Dependent Choice List Not working in ECapture as Expected
Hi Martin_A, In ECapture i am trying to create a dependent Chocie list which will show City name based on Country name. But in ECapture that configuration is not working since during the creation of Depedent list from Parent Source,configuration is t
-
Searching for Movie Types in iTunes
I would like to search for surfing movies in ITunes but it isn't possible to search for a movie by subject in iTunes the way that I can with tv shows. Am I missing something or should I continue to get my surf movies from Netflix?