JQuery :: Install On IE7 - 1000+ Workstations - Users Accessing The Site From A Very Slow Network
Feb 4, 2011
I am about to launch a SharePoint site with thousands of users accessing the site from a very, very slow network. Two questions. Is there a way to 'install' jquery so that it doesn't download every time they access the site?
_All_ users are on the same domain and are using IE7. Once they download JQuery on the initial page visit, does it still redownload the file every time they access the site? Temporary internet files don't get cleared after each session, so I'm assuming it doesn't get re-downloaded.
On our website we wanna bind a click (or maybe mouseover)-event on every user-image. The click on the image should open a layer with further information about the user. Now i look for a best practice way to solve this (focus on performance), because there could be a lot of user-images on one side. I think, if i bind the event on a class like this
that could slow down the site, because i read, that "The class selector is the slowest selector in jQuery". Back to the roots and insert an onclick(function) to the element, but i'm not realy happy with that solution.
I've got the following site that loads great in FF and Chrome (no surprise), but is terribly slow in IE7. It's even quick in IE6, but not 7. Here's the site code...
Now I'm using JQuery in a couple places, but it's by no means nothing crazy. The page is fairly simple.
I thought of preloading the main content images, but even after they are loaded in the cycle, the loading time is still slow.
I put a javascript for a preload in it and it hasnt helped the front page. Right now the header is swish and we took that out and it still took over 2 minutes to download on DSL. I do have the JS anthology book but the script in there didn't work for us. Come to think of it I have almost all of the sitepoint books. Does anyone have any suggestions.
Is it possible with javascript to retrieve somebody's Computer name when he connects to a webserver? (So the webserver receives the computername of the client).
I'd like to be able to get the address of people accessing my site. I don't need their actual house address, just a general area like zip code or city/state/country. Is something like this possible? I know you can do this in php.
I am using a straightforward jquery.load() command which loads a set of html content into another HTML. I have tested this functionality across multiple browser from multiple computers in multiple locations, and it works fine, but for some reason within my client's office network, ajax content does not load. No browser errors are thrown. All I can tell is that within safari, for example, I will get a "cancelled" message in the activity log.
This is the first week I've been using jquery. I have successfully incorporatedthe "dialog" widget into a site. Now I'm trying to download and use plug-ins. I haven't found how to download a plug-in or instructions on how to install. (Maybe the instructions will show up in the download.)
I installed Superfish, use the menus, everything is ok.how can Supersubs be enabled in Joomla? I cannot find a tweak in the Superfish backend module? Does any filehave to be edited by hand?
I really need a good photo gallery for my website, which must be done by Sep. 16th! I would like a jquery like fancybox or slimbox. Ican't figure out how to do either of them! I have absolutely no experience with this kind of stuff and would REALLY APPRECIATE if someone could provide a step-by-step instruction for me on how to set it up
Getting the following error when attempting install of jQuery-1.4.2.min.js Line: 16 Char: 1 Error: 'window' is undefined Code: 800A1391 Source: Microsoft JScript runtime error
Is this permissible, or do I have to download jquery.js to my server? If not, I have other questions:
- My hosting service does doesn't have gzip compression enabled --what file do I need to install on my server if I don't have GZIP available?
- How can I extract that file (jquery.js?) from jquery-1.3.2.js.txt? (looked for GZipper, but from what I can see that's Mac s/w and I'm running windows)
Both an EtherNet (wire) network and a wireless network are referred to as a Local Area Network (LAN). A wireless network does not require hubs, switchers, or routers to include additional users on the network. Additional wireless users are supported just by being in the immediate physical span of the network.
A wireless LAN (or Wi-Fi network) may be configured in two different ways:
Ad Hoc mode: Allows only for communication between different personal computers and wireless devices, often referred to as peer-to-peer communication.
Infrastructure mode: Required for communication with the World Wide Web, a printer, or a wired device of any sort. In either case, this wireless connection requires a wireless network adaptor, often called a WLAN card. Code:
I have a website that I'm trying to install a shopping cart on and I'm trying to make it so when a certain color is selected an option pops up as an additional feature people have the option of choosing, but I only want the option visible when certain colors are selected. I think I have the code figured out, but there are 2 colors I want the option visible for and currently the option is only showing up for one of the colors. I tried creating two id's for each color and two jQuery codes that were basically the same but one for #color1 and one for #color2 but that didn't work either.
Looking over other threads on this site I was able to use another members script to build my own for adding a network printer via JavaScript on our Intranet. With that, the script works perfectly fine when testing it on the local machine I built it on, but not on other machines in the office. Currently I'm remoted into the branch office I reside in from the corporate office where I'm currently at so the machines being tested are on different subnets, but the script is simple calling the UNC path for the printer. When tested on any other computer, and the link is clicked on the page, the user is taken back to the folder in windows explorer the HTML file is saved in, rather than executing the add printer portion of the script.
This is my full code as of now, I was trying to get the function correct before formatting the actual website (obviously) Code: <html><head> <meta http-equiv="Content-Language" content="en-gb"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>Printer Mapping</title> </head> <script> function addPrinter25(){ var x=confirm("You are about to add printer GPSACC01. Would you like to make this your default printer?") if (x==true){ WshNetwork = new ActiveXObject("WScript.Network"); var PrinterPath = "\\gpsprnt02\gpsacc01"; WshNetwork.AddWindowsPrinterConnection(PrinterPath); WshNetwork.SetDefaultPrinter(PrinterPath); alert("Printer GPSACC01 has been added successfully and set as default") }else{ WshNetwork = new ActiveXObject("WScript.Network"); var PrinterPath = "\\gpsprnt02\gpsacc01"; WshNetwork.AddWindowsPrinterConnection(PrinterPath); alert("Printer GPSACC01 has been added successfully") }} </script> <font color="#0000FF" face="Arial"> <a href="" onclick="addPrinter25(); return false;">GPSACC01</a></font> </body></html>
I have a web page that is not and will not be hosted on a web server. So no PHP, ASP solutions will work here. The method of access is File://. We only run IE 7/8 so no solutions that are firefox only. Here is what I want to do: Use javascript to build a table by reading a XML file stored in the same folder. When I try to use something like:
I am taking a javascript class and I need a script that displays the first 1000 prime numbers in a table with 10 numbers per row. I've been trying on my own for about 4 hours now and am really confused. I just started the class and have only started learning javascript 3 days ago.
Firefox is throwing a DOM security error. I've used toDataURL() before, and it's never done this. I need to get this little app fixed, so that I can use it on my TabletPC for taking notes in class. The line of code that is throwing this error is: var Note = document.getElementById("SketchPage").toDataURL();
Here's the full error from the Error Console: Error: uncaught exception: [Exception... "Security error" code: "1000" nsresult: "0x805303e8 (NS_ERROR_DOM_SECURITY_ERR)" location: "file:///C:/SketchBook-Dev/SketchBook.js Line: 236"]
Here is the JS file: var PenSize = "3"; var PenShape = "Circle"; var PenColor = "Black"; var LoadFile = ""; var UIstatus = "visible"; var CurrentNote = 0; var BGcolor = "#C7C1A3"; var DataPath = "Data\"; var ImageExtension = ".img"; var FileList = []; var SystemPath; var UIstatus = "visible"; var Server = "localhost"; var NxtNote = new Image(); document.onkeyup = ToggleUI; function Init() { .....
I have an ActiveX Javascript function, that pulls data from an HTML table and then populates an Excel Workbook. This works OK, but I need to save the workbook to a network path. I have successfully saved it locally:
Code: // Save the Excel Workbook xlBook.SaveAs("C:\TEST.XLSX"); But this does not:
Code: // Save the Excel Workbook xlBook.SaveAs("\Server\Projects\TEST.XLSX");
When attempting this, I get this error: SaveAs method of Workbook class failed Which refers to the above. I have tried different variations, but with little success (sometimes the path will default to the Server's 'My Documents'/'User Shared' folder, with the filename: ServerProjectsTEST.XLSX
I have text area that includes the full path for a local file on our company network. The files are usually excel sheets or docs. How can I have it so when they clicks the file it opens the local file?