Responsive gallery help (javascript issue?)
I'm trying to add this responsive gallery to my site (http://tympanus.net/codrops/2011/09/20/responsive-image-gallery/) - I'm still working on customizing the style, but my main issue is that it's not responsive - I copied everything from the downloaded files, even tried with a clean HTML page when it failed to work within my site, but the gallery does not adjust when I resize the browser window.
http://atenndesign.com/photos/cuba.html
I'm not experienced in javascript but I copied those files and link paths as is... what am I missing?
The gallery is responsive (you can test this by adding a small width to your <div class="content"> which will resize the gallery). However, your website is not. For the gallery to work, you need to make the rest of the site responsive by using % widths and preferrably no tables. There are a few posts about responsive sites in this forum or you can have a look here: http://www.smashingmagazine.com/responsive-web-design-guidelines-tutorials/
Similar Messages
-
JSP response into a Javascript code
Suppose I have a form that I submit, and its action is set to a JSP page that returns a series of elements <option>, for example:
<option>2005</option>
<option>2006</option>
Is it possible to GET that JSP response, inside the JavaScript code?
Or should I better state, inside the JSP code, to return ONLY the numbers and then I get it on the JavaScript and use the .add() funtion to add the item to a <select> ?
How do I save that response inside the JavaScript?
For example, I am trying with this Javascript function that handles the changes on a drop-down list:
function clickedOnPType(lista)
document.form1.action = "searchAvailableYears.jsp?pType=" + txtPType;}
document.form1.submit();
}...And I am getting, in return, a series of <option> with the correct data...
Thanking you in advance,
MMSOh hello... in one of my 1000 searches I found that
post days ago and I was already trying with your
code, but I was getting several errors like
"undefined is null or not an object" (in IE),
"xmlhttp.responseXML has no properties" (in
Firefox).... Well one thing i wanted to discuss here is is wat properties does in general a XmlHttpRequest Object contains
checkout the below interface which gives a clear understanding of the Object member properties.
interface XMLHttpRequest {
attribute EventListener onreadystatechange;
readonly attribute unsigned short readyState;
void open(in DOMString method, in DOMString url);
void open(in DOMString method, in DOMString url, in boolean async);
void open(in DOMString method, in DOMString url, in boolean async, in DOMString user);
void open(in DOMString method, in DOMString url, in boolean async, in DOMString user, in DOMString password);
void setRequestHeader(in DOMString header, in DOMString value);
void send();
void send(in DOMString data);
void send(in Document data);
void abort();
DOMString getAllResponseHeaders();
DOMString getResponseHeader(in DOMString header);
readonly attribute DOMString responseText;
readonly attribute Document responseXML;
readonly attribute unsigned short status;
readonly attribute DOMString statusText;
};therefore as you can see XmlHttpRequest.reponseXML returns a Document Object which has below set of properties.
http://www.w3schools.com/dom/dom_document.asp
http://www.javascriptkit.com/domref/documentproperties.shtml
and as said earlier one can send AJAX response in three ways
1).Plain text(with comma seperated values maybe): Which we can collect using XmlHttpRequest.responseText 2).XML: @ client side XmlHttpRequest.reponseXML create a DOM Object using which one can parse it get values
of attributes and values of different tags and then update the view accordingly.
3).JSON(Javascript Object Notation): It is a bit complicated thing to discuss at this moment
however it uses the first property(Plain text) and then
uses set of libraries to parse and update the view.
checkout below links to understand it
http://www.ibm.com/developerworks/library/j-ajax2/
http://oss.metaparadigm.com/jsonrpc/
> function handleOnChange(ddl)
>
var ddlIndex = ddl.selectedIndex;
var ddlText = ddl[ddlIndex].text;
var frmSelect = document.forms["form1"];
var frmSelectElem = frmSelect.elements;
if(ddl.name="pType")
txtYear = "";
txtDay = "";
txtTime = "";
unblock(document.form1.year);
block(document.form1.day);
block(document.form1.time1);
laProxLista = frmSelectElem["year"];
if (ddl.options[ddl.selectedIndex].text !=
txtPType = ddl.options[ddl.selectedIndex].text;
else if(ddl.name="year")
txtDay="";
txtTime="";
unblock(document.form1.day);
block(document.form1.time1);
laProxLista = frmSelectElem["day"];
f (ddl.options[lista.selectedIndex].text != "---")
txtYear = ddl.options[lista.selectedIndex].text;
else if(ddl.name="day")
{ txtTime = "";
unblock(document.form1.time1);
laProxLista = frmSelectElem["time1"];
(ddl.options[ddl.selectedIndex].text != "---")
txtDay = ddl.options[ddl.selectedIndex].text;
else //time1
laProxLista = null;
if (ddl.options[ddl.selectedIndex].text != "---")
txtTime1 = ddl.options[ddl.selectedIndex].text;
if ( txtPType != "---")
xmlhttp = null
// code for initializing XmlHttpRequest
Object On Browsers like Mozilla, etc.
if (window.XMLHttpRequest){
xmlhttp = new XMLHttpRequest()
// code for initializing XmlHttpRequest
Object On Browsers like IE
else if (window.ActiveXObject) {
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP")
if (xmlhttp != null)
if(ddl.name = "pType")
// Setting the JSP/Servlet url to get
XmlData
url = "searchAvailableYears.jsp?pType="
+ txtPType;
else if(ddl.name = "year")
url = "searchAvailableDOY.jsp?pType=" + txtPType
PType + "&year=" + txtYear;
else(ddl.name = "day")
url = "searchAvailableTimes.jsp?pType=" +
e=" + txtPType + "&year=" + txtYear + "&day=" +
txtDay;
xmlhttp.onreadystatechange =
handleHttpResponse;
// Open the Request by passing Type of
Request & CGI URL
xmlhttp.open("GET",url,true);
// Sending URL Encoded Data
xmlhttp.send(null);
else{
// Only Broswers like IE 5.0,Mozilla & all other
browser which support XML data Supports AJAX
Technology
// In the Below case it looks as if the
browser is not compatiable
alert("Your browser does not support
XMLHTTP.")
} //else
} //if chosen
//function
//----------------------------Well as far as i can see i do not have any issues with it because your code looks
preety much involved with your business logic but one thing i would like to reconfim
here is the variable "xmlhttp" a global one.
if no declare xmlhttp variable as a global variable.
<script language="javascript">
var xmlhttp;
function handleOnChange(ddl){
function verifyReadyState(obj){
function handleHttpResponse() {
</script>
> function verifyReadyState(obj)
if(obj.readyState == 4){
if(obj.status == 200){
if(obj.responseXML != null)
return true;
else
return false;
else{
return false;
} else return false;
}I believe,this is preety much it.
> function handleHttpResponse() [/b]
if(verifyReadyState(xmlhttp) == true)
//-----------HERE!! ---- I GET "UNDEFINED" IN THE
DIALOG BOX
//------- BELOW THE CODE LINE....---
var response = xmlhttp.responseXML.responseText;
alert(response);
it is obvious that you would get Undefined here as responseText is not a property of Document Object or to be more specific to the Object what xmlhttp.responseXML returns.
you might have to use that as alert(xmlhttp.responseText);
and coming back to parsing the XML reponse you have got from the server we need to use
var response = xmlhttp.responseXML.documentElement; property for it...
and if you put as a alert message it has to give you an Output like"Object"
alert(response);
if that doesn't the browser version which you are using may not support XML properly.
var response = xmlhttp.responseXML.documentElement;
removeItems(laProxLista);
var x = response.getElementsByTagName("option")
var val
var tex
var newOption
for(var i = 0;i < x.length; i++){
newOption = document.createElement("OPTION")
var er
// Checking for the tag which holds the value of the Drop-Down combo element
val = x.getElementsByTagName("value")
try{
// Assigning the value to a Drop-Down Set Element
newOption.value = val[0].firstChild.data
} catch(er){
// Checking for the tag which holds the Text of the Drop-Down combo element
tex = x[i].getElementsByTagName("text")
try{
// Assigning the Text to a Drop-Down Set Element
newOption.text = tex[0].firstChild.data
} catch(er){
// Adding the Set Element to the Drop-Down
laProxList.add(newOption);
here i'm assuming that i'm sending a xml reponse of format something below.
<?xml version="1.0" encoding="ISO-8859-1" ?>
<drop-down>
<option>
<value>1</value>
<text>label1</text>
</option>
<option>
<value>2</value>
<text>label2</text>
</option>
<option>
<value>3</value>
<text>label3</text>
</option>
</drop-down>and i'm trying to update both option's value and label which would be something like
<select >
<option value="1">label1</option>
<option value="2">label2</option>
<option value="3">label3</option>
<option value="4">label4</option>
</select>else where if you are interested in getting a format like the one below
<select >
<option>label1</option>
<option>label2</option>
<option>label3</option>
<option>label4</option>
</select> try the below snippet
var response = xmlhttp.responseXML.getElementsByTagName("text");
var length = response.length;
var newOption
for(var i =0 ; i < length;i++){
newOption = this.document.createElement("OPTION");
newOption.text = response.childNodes[0].nodeValue;
// or newOption.text = response[i].firstChild.data
laProxList.add(newOption);
Another thing...
I have tried to set the content type inside the JSP
to
response.setContentType("text/html");
AND to
response.setContentType("text/xml");
but none of the above is getting me results......use of response.setContentType("text/xml"); is more appropriate here.. as you are outputting XML or a plain text here...
make sure you set the reponse headers in the below fashoin while outputting the results....
response.setContentType("text/xml");
response.setHeader("Pragma", "no-cache");
response.setHeader("Cache-Control", "no-cache");
response.setDateHeader("Expires", 1);
response.setDateHeader("max-age", 0); and if you are serious about implementing AJAX i would advice you start learn basics of XmlHttpRequest Object and more about DOM parsing is being implemented using javascript.
http://www.w3.org/TR/XMLHttpRequest/#xmlhttprequest0
http://www.jibbering.com/2002/4/httprequest.html
http://java.sun.com/developer/technicalArticles/J2EE/AJAX/
http://developer.apple.com/internet/webcontent/xmlhttpreq.html
http://www.javascriptkit.com/domref/documentproperties.shtml
and then go about trying different means of achieving them using simpler and cool frameworks
like DWR,dojo,Prototype,GWT,Jmaki,Back Base 4 Struts,Back Base 4 JSF....etc and
others frameworks like Tomahawk,Ajax4Jsf,ADF Faces,ICE FACES and many others which work with JSF.
Please Refer
http://swik.net/Java+Ajax?popular
http://getahead.org/blog/joe/2006/09/27/most_popular_java_ajax_frameworks.html
Hope that might help :)
and finally an advice before implementing anything specfic API which may be related to any technologies (JAVA,javascript,VB,C++...) always refer to API documentation first which always gives you an Idea of implementing it.
Implementing bad examples posted by people(even me for that matter) directly doesn't make much sense as that would always lands you in trouble.
and especially when it is more specific to XmlHttpRequest always make habit of refering
specific Browser site to know more about why specific Object or its property it not working 4i
IE 6+: http://msdn2.microsoft.com/en-us/library/ms535874.aspx
MOZILLA: http://developer.mozilla.org/en/docs/XMLHttpRequest
Safari: http://developer.apple.com/internet/webcontent/xmlhttpreq.html
Opera 9+: http://www.opera.com/docs/specs/opera9/xhr/
Hope there are no hard issues on this...
REGARDS,
RaHuL -
Controling a Gallery With Javascript
I would like to use a Boolean array to control the images in a gallery. Each index in the array would correlate to a specific image, which would not appear in the gallery if array[i] == false, but the image would appear if array[i] == true.
I could use some help with controlling the gallery. Is there a way to do the following?
Access a specific slide at an index via javascript.
Get the number of slides in the gallery via javascript.
Add/remove slides to/from the gallery via javascript.
Set the image path for a given slide via javascript.
It seemed to me like such information should be here:
https://developer.apple.com/library/iad/documentation/iAdJS/Reference/iAP.Galler yViewClassRef/iAP/iAP.html#//apple_ref/doc/uid/TP40010655
However, I think I must be missing something. If anyone could point me in the right direction, I would appretiate it!
Thanks,
RobbieHmmm....Did you double-click on the cell and drop in the image object or just lay it on top. It's gotta be inside the cell so it's included in the serialization. Not sure what else it could be.
Code for the page that works for me is:
this.milestones = [];
this.onViewControllerViewWillAppear = function (event) {
// Code here for the "View Will Appear" event.
// path to my server
var webservicePath = "http://localhost/myfeed.json";
// asynchronously load the webservice
var xmlLoader = new iAd.XHRLoader(webservicePath);
xmlLoader.delegate = this;
xmlLoader.load();
// Called when the XHR call failed
this.loaderDidFail = function ( loader, error ){
alert("Load failed with error: " + error);
// Called when the XHR call was successful
this.loaderDidComplete = function (loader){
var galleryView = this.outlets.timelineGalleryView;
galleryView.dataSource = this;
// grab and store the content returned
var json = loader.content;
var jsonObj = JSON.parse(json);
this.milestones = jsonObj.timeline.milestones;
// store an archived copy of the prototype cell
this.archivedPrototypeCell = iAd.Archiver.archive(galleryView.cellAtIndex(0));
// tell the gallery to update itself
galleryView.reloadData();
this.cellAtIndexInContainer = function(container, index) {
// create a new instance of the prototype cell
var newView = iAd.Archiver.restoreFromArchive(this.archivedPrototypeCell);
// event data at the index
var milestone = this.milestones[index];
// get the path to the event image
var imagePath = milestone.image || '';
// create an image object and assign to the image property of the imageView
newView.subviews[3].image = iAd.Image.imageForURL(imagePath, false);
// set the text values
newView.subviews[0].text = milestone.date || '';
newView.subviews[2].text = milestone.title || '';
newView.subviews[4].text = milestone.description || '';
return newView;
this.numberOfCellsInContainer = function(container) {
return this.milestones.length;
and the cell hierarchy looks like this:
-M -
Web Engine image/javascript issue
Just a note on an issue found in my gallerypage webengine with LR4 Beta.
The gallery uses javascript scrolling and I found this to be broken in the LR internal preview (using the new APE), it is all OK when exported or previewed in a browser.
(on OSX) - Console messages such as -
[HTML Trace]: ReferenceError: Can't find variable: oScroll
[HTML Trace]: doscroll at http://app-storage:52001/javascript/whscroll.js : 96
[HTML Trace]: scroll at http://app-storage:52001/javascript/whscroll.js : 90
[HTML Trace]: onmouseover at http://app-storage:52001/index.html : 192
It looked like the windows.onload functions in the js were not happening.
Tracking back from the gallerypage.html I found - background: url(../images/mailrule.gif) 0px 0px no-repeat; in CSS was causing the issue and was down to the mailrule.gif file missing from the images folder.
(was OK with LR3 but webkit in LR4 borked! and caused issues with javascript running in the webengine)
I suspect that images referenced from CSS when previewed within LR must exist in appropriate path or APE (webkit) may choke…
Also with another prototype webengine where the generated index.html uses an included html file as part of the page the same problem was happening but the image files did exist in the images folder however I think that being referenced from an included part of code causes a problem with the internal preview using APE - again everything OK with browser preview or exported galleries.
As a workround I have noticed that if the images in the included code are of the Base64 data URI embedded type then the webengine will work just fine - I used a Base64 Firefox plugin to generate the data URI's - works great!
I will maybe need to provide the embedded images on the included code when in Preview Mode only to cater for APE - just a bit of monkeying around unfortunately but glad to have the internal preview back.
Now back to my 2 year old problem of using an array list from the galleryInfo.lrweb in the albumgrid page (it broke after LR2!)Just a note on an issue found in my gallerypage webengine with LR4 Beta.
The gallery uses javascript scrolling and I found this to be broken in the LR internal preview (using the new APE), it is all OK when exported or previewed in a browser.
(on OSX) - Console messages such as -
[HTML Trace]: ReferenceError: Can't find variable: oScroll
[HTML Trace]: doscroll at http://app-storage:52001/javascript/whscroll.js : 96
[HTML Trace]: scroll at http://app-storage:52001/javascript/whscroll.js : 90
[HTML Trace]: onmouseover at http://app-storage:52001/index.html : 192
It looked like the windows.onload functions in the js were not happening.
Tracking back from the gallerypage.html I found - background: url(../images/mailrule.gif) 0px 0px no-repeat; in CSS was causing the issue and was down to the mailrule.gif file missing from the images folder.
(was OK with LR3 but webkit in LR4 borked! and caused issues with javascript running in the webengine)
I suspect that images referenced from CSS when previewed within LR must exist in appropriate path or APE (webkit) may choke…
Also with another prototype webengine where the generated index.html uses an included html file as part of the page the same problem was happening but the image files did exist in the images folder however I think that being referenced from an included part of code causes a problem with the internal preview using APE - again everything OK with browser preview or exported galleries.
As a workround I have noticed that if the images in the included code are of the Base64 data URI embedded type then the webengine will work just fine - I used a Base64 Firefox plugin to generate the data URI's - works great!
I will maybe need to provide the embedded images on the included code when in Preview Mode only to cater for APE - just a bit of monkeying around unfortunately but glad to have the internal preview back.
Now back to my 2 year old problem of using an array list from the galleryInfo.lrweb in the albumgrid page (it broke after LR2!) -
CRM 2013 - Inconsistent javascript issue crash the web client and user needs to reopen
Hello,
We are using CRM 2013 on premise version and almost 600 users are using it. We have some inconsistent JavaScript issue (following is the log for same) which happens to users in a day or two. When this issue occurs user can not work in system and they have
to open new instance of CRM.
Does anybody knows about this error?
<CrmScriptErrorReport>
<ReportVersion>1.0</ReportVersion>
<ScriptErrorDetails>
<Message>Unable to get property 'location' of undefined or null reference</Message>
<Line>1</Line>
<URL>/_static/_common/scripts/main.js?ver=1676323357</URL>
<PageURL>/main.aspx#313155368</PageURL>
<Function>anonymous($p0,$p1,$p2){this.$3_3.get_currentIFrame()&&Mscrm.PerformanceTracing.write("Unload",this.$3_3.get_currentIFrame().src);this.$H_3=$p0.toString();this.$26_3();this.$1A_3();this.$1J_3();if($p0.get_isLocalServer())$p0.get_query()["pagemode"]="iframe</Function>
<CallStack>
<Function>anonymous($p0,$p1,$p2){this.$3_3.get_currentIFrame()&&Mscrm.PerformanceTracing.write("Unload",this.$3_3.get_currentIFrame().src);this.$H_3=$p0.toString();this.$26_3();this.$1A_3();this.$1J_3();if($p0.get_isLocalServer())$p0.get_query()["pagemode"]="iframe";addPassiveAuthParameters($p0);var$v_0=$p0.toString();if(IsNull($p2))$p2=false;var$v_1=this.$18_3($p0,$p2);if($v_1){if(this.$2z_3()){window.location.reload();return}this.$2d_3();this.$1s_3();Mscrm.PerformanceTracing.write("Navigate",$v_0);!Mscrm.Utilities.isIE()&&this.raiseEvent(Mscrm.ScriptEvents.UpdateTopLocation,null);this.$3_3.get_currentIFrame().contentWindow.location.replace($v_0)}else{this.$10_3();var$v_2=this.get_contentWindow().Sys.Application.findComponent("crmPageManager");if($v_2){!Mscrm.Utilities.isIE()&&$v_2.raiseEvent(Mscrm.ScriptEvents.UpdateTopLocation,null);var$v_3={};$v_3["sourceUri"]=Mscrm.Utilities.getContentUrl(null);$v_2.raiseEvent(Mscrm.ScriptEvents.IFrameReactivated,$v_3)}}window.self.InnerIFrameSrcChangeTimestamp=(newDate).getTime();this.title=$p1;if(window.LOCID_UI_DIR==="RTL"&&$p0.toString().indexOf("PersonalWall")>=0&&window.UseTabletExperience)this.$3_3.get_currentIFrame().style.position="RELATIVE"}</Function>
</CallStack>
</ScriptErrorDetails>
<ClientInformation>
<BrowserUserAgent>Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3)</BrowserUserAgent>
<BrowserLanguage>en-US</BrowserLanguage>
<SystemLanguage>en-US</SystemLanguage>
<UserLanguage>en-US</UserLanguage>
<ScreenResolution>1366x768</ScreenResolution>
<ClientName>Web</ClientName>
<ClientTime>2015-04-20T15:41:12</ClientTime>
</ClientInformation>
<ServerInformation>
<OrgLanguage>1033</OrgLanguage>
<OrgCulture>1033</OrgCulture>
<UserLanguage>1033</UserLanguage>
<UserCulture>1033</UserCulture>
<OrgID>{E8BBA7AE-A552-DE11-B475-001E0B4882E2}</OrgID>
<UserID>{614837CD-448B-DE11-A5E1-005056970D6C}</UserID>
<CRMVersion>6.1.2.112</CRMVersion>
</ServerInformation>
</CrmScriptErrorReport>Are you on-premise, or on-line? : It's on-premise
Can you reproduce it on-demand, or is it sporadic?: It's sporadic
There is a mention of loading an iFrame in the error, do you have iFrames on the form that generates this error?
It's not on specific forms, so can't identify that. Yes we have iframes on some forms.
Does it happen on any/all entity forms, or specific ones? Do the entity forms have any custom JavaScript on them?
It's not on specific forms. And yes we have javascript on almost all forms.
Do you have any network problems or slowness in your network? Does the problem happen when the network is busy?
We need to check this on next occurrence.
Do the users that see this error have any unusual add-ins or toolbars in their browser? This is not for specific user. Its happening for all randomly.
Have you tried other browsers like Chrome or FireFox and do users see the problem there as well?
We need to check only for IE. -
Can anyone help with issue whereby Music, Podcasts and Audiable Book Apps keep stopping when listing via Headphones following IOS 7.06 Updates on Iphone 4?
I have tried the following all ready:
Resetting Phone
Resetting Settings on phone
Change Headsets to speakers
Reinstalled Phone
Updated to IOS 7.1
No of the above has resolved the issue does anyone have any ideas?Can anyone help with issue whereby Music, Podcasts and Audiable Book Apps keep stopping when listing via Headphones following IOS 7.06 Updates on Iphone 4?
I have tried the following all ready:
Resetting Phone
Resetting Settings on phone
Change Headsets to speakers
Reinstalled Phone
Updated to IOS 7.1
No of the above has resolved the issue does anyone have any ideas? -
Need HELP (Project Issue) : Having 3 individual VIs, datalogger.vi, start vi, amksms.vi done.
(How to run the VIs in sequence order - datalogger > start > amksms combine into 1 VIs? )VIs in icon.
how would it able to run in the sequence order:
data first, follow by start and lastly amk sms.
Attachments:
dsa.jpg 10 KB -
My Safari is not working right. It often stalls and I get the "colored spinning wheel of Death". I send reports to Apple, but I never get any response or helpful info. What do I do to get Safari working correctly on my MacBook laptop?
From the Safari menu bar, select
Safari ▹ Preferences ▹ Extensions
Turn all extensions OFF and test. If the problem is resolved, turn extensions back ON and then disable them one or a few at a time until you find the culprit.
If you wish, you may be able to salvage the errant extension by uninstalling and reinstalling it. Its settings will revert to their defaults. If the extension still causes a problem, remove it permanently or refer to its developer for support.
Uninstall the McAfee product by following the instructions on whichever of the pages linked below is applicable:
How to install or uninstall McAfee Internet Security for Mac
How to manually remove VirusScan for Mac 8.6.x using a removal script
How to uninstall and reinstall McAfee Agent 4.x on Macintosh computers
Note that if you have already tried to uninstall the software, you may have to reinstall it in order to finish the job. If you have a different version of the product, the procedure may be different.
Back up all data before making any changes. -
Help on issue "SGD/USD - rate does not exist in scenario for"
Hi Experts,
Hope that someone may help in issue that I can't seem to fix in TXAK Option pricing engine.
When trying to generate market data, the program is giving me error message number T0478 - "SGD / USD - rate does not exist in scenario for".
Your help please to inform me what customizing need to be done to troubleshoot this issue!
Thanks,
DavidHi Mridul,
I also checked this setting and the exch. rate for SGD/USD has already been set previous to my error. Also, this configuration allows the exch. rate to be valid from a certain date so I don't think that this is what Ravi is referring to..
From what Ravi said, I need to set an exchange rate for the Evaluation Type that I am using. OB08 doesn't determine which evaluation type is being used.
Thank you very much for your help, and please do let me know if the question isn't clear so I may explain more.
Regards,
David -
IOS 7 very slow, i have many problem , exemple download documents , typing doc to go . Very slow, sometime no response , please help us for this error,
spacepilot wrote:
i live in the WS10 / 0121 area and have been having similar problems. i have an up to 20mb services, but up to a month ago connected at 4800, then my line went dead for 6 days, and all indis could do was send me new router, which came the day after my line was restored, but had dropped to 2418 and remained so for the past 3 to 4 weeks, then i dropped to 1963 yesterday, and 729 today.
all speeds are far lower on my upto 20mb than they where on my upto 8mb link.
foegot to add, i reported the problem via the report a problem link, which hopefully will be red by someone with a firmer grasp of english that the normal call centre staff
welcome to the forum why don't you start your own subject and post the adsl stats from your router and also run btspeedtester and post the results and someone may be able to offer assistance
If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post.
If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’. -
Please help with javascript issue
Hi all,
So ive got this piece of javascript -
$("#verse_inscriptions").on("change", function() {
var verse = $(this).children("option:selected").val();
if(verse != "0") {
$("#textarea").val($("#textarea").val() + " " + verse);
calculateTotal();
of this page http://www.milesmemorials.com/product-GH54.html What i need is to adapt it so that it will allow this function to happen whilst also inserting the same information into the textarea here -
<textarea name="textarea2"id="textarea2"></textarea>
So basically i have 2 forms, the first is where the customers make their choices/selections and the second form retrieves those choices and inserts them into form2 by 'onchange' attributes, but the piece of code above is stopping that from happening (only on this part of the form 'inscriptions and verses'and 'textarea' which as you can see are both interlinked).
Can anyone help me with this? I appreciate any help.Sorry it's calculateTotal(); instead of processTextarea(); in the code above.
The in the function calculateTotal you can add a piece of code to update #grand_total2:
function calculateTotal() {
$("#grand_total, #grand_total2").val(totalAmount.toFixed(2));
Kenneth Kawamoto
http://www.materiaprima.co.uk/ -
Need help with taglib and javascript issue
I have created two WebSphere portlets (using WebSphere Application Studio), which exchange information by using click-to-action. I have added the click-to-action functionality programatically.
On my source portlet jsp page I took the java code which generates the click-to-action javascript and added it to a taglib I created. The problem is that now the click-to-action functionality doesn't work.
When I look at the source code in the browser the javascript and the onClick code is there as it should be, but when I click on the hyperlink, the click-to-action menu is not displayed.
If I take the java code out of the taglib and put it back into the jsp page it works no probs and on inspection of the generated code it is exactly the same as the code generated by the taglib version.
I have noticed that when I click the hyperlink to fire the onClick event I get an error message in the browser but when I go to the line number given in the error message, there is no code on that line.
Any ideas why it doesn't work when put in a taglib?
Thanks in advance,
A.There can be a million reasons
1) What is the exact error line?
2) Try debugging in Mozilla instead of IE. Mozilla's javascript debugger is much better. In IE you may have to look more at the error message then the line it gives you to id where the error occurs. -
Region Observer to help jQuery issues
So I have been working on this for a bit and can't seem to get anywhere. I have read multiple posts about issues with SPRY regions conflicting with jQuery and other javascript inside of SPRY regions. I can't seem to get it to fly. I my region observer doesn't seem to be helping.
I have jQuery and tinyMce inside my SPRY region that won't fly. Example code (greatly simplfied!)
<div spry:region="ds1" id="myRegion">
<input name="title" type="text" id="title" value="{Title}" size="70" maxlength="70" />
<input type="text" id="eventDate" value="{EventDate}" name="eventDate" /></td>
</div>
The EventDate input area is supposed to call the jQuery DatePicker but it does not work if it is inside the region. It is called by this simple code
<script>
$(document).ready(function() {
$("#eventDate").datepicker();
</script>
I read that it has something to do with what loads first and how the region loads before the datepicker has a chance and renders it useless and I am to use a region observer to fire it off.
Spry.Data.Region.addObserver("myRegion", { onPostUpdate: function() { datepicker.init(); }});
It does nothing. I am assuming that I would do the same thing to fire the tinyMCE WYSIWYG inside this area as well. I know enough about javascript to be slighly dangerous, but this one has rendered me useless!
Thanks for any help.var ds1 = new Spry.Data.HTMLDataSet("datasets/indEvent.asp?id=<% response.Write(request.queryString("id")) %>","events");
var myObserver = function(nType, notifier, data) {
if(nType == 'onPostUpdate'){
$(function() {
$('#eventDate').datepicker();
$('#description').tinyMCE.init();
Spry.Data.Region.addObserver('myRegion', myObserver);
</script>
What you are doing there with your jquery code is:
When the DOM Ready event is fired... Execute .datePicker and .tinyMCE. But then the Spry Region is drawn the DOM is already loaded. So it might not execute propperly what i would advice is to do:
Spry.Data.Region.addObserver( "myRegion", {
onPostUpdate:function(){
$('#eventDate').datepicker();
$('#description').tinyMCE.init();
Also remove the:
<script>
$(document).ready(function() {
$("#eventDate").datepicker();
</script>
From your page -
Using jquery image gallery - help!
Hello there :)
I'm having an issue with showing images in my jquery image gallery; it's taken me all day and it just won't work. I've tried to follow this tutorial using the latest version of pikachoose 3.0. http://apex-notes.blogspot.com/2008/12/build-image-gallery-using-apex.html
What I see is nothing but broken image links and no jquery image gallery at all. I suspect the problem is with this PL/SQL statement but I am not sure. I use BLOBs for images.
DECLARE
CURSOR c1
IS
SELECT "IMAGE_ID"
FROM "GAL_IMAGES";
BEGIN
HTP.p ('<ul id="pikame">');
FOR gallery_rec IN c1
LOOP
HTP.p
('<li>
<img src="f?p=&APP_ID.:0:&SESSION.:APPLICATION_PROCESS=gallery:::F106_G_IMAGE_ID:'||gallery_rec.image_id||'" /></li>'
END LOOP;
HTP.p ('</ul>');
END; Please help?Thank you for the reply Munky... yes I've included the jQuery in the header, and inspected it with firebug as well. I'm just not very good at interpreting the parameters oracle needs to display BLOB data through PL/SQL commands. No javascript errors, the images just refuse to show. Getting it on apex.oracle.com is tough (lots of stuff to export) but I'll get working on that right away. I'm on limited time too because my project is well overdue :/
Let me show you two screenshots for the time being: http://i294.photobucket.com/albums/mm116/ctjemm/Login_1267710612595.jpg and http://i294.photobucket.com/albums/mm116/ctjemm/Login_1267710740509.png
I wanted something like this - http://apex.oracle.com/pls/otn/f?p=25110:11:112222201005926 to happen in the 'gallery scroll' region. :/ He gets his to work, I don't know how though, since I followed every step of his blog meticulously.
Again, thanks so much for your reply.
-J -
Firefox 25.0.1 and Facebook have JavaScript issues
I am using Firefox 25.0.1 with Mac IOS 10.9 on my Macbook Air. When trying to get to Facebook, I am told that I have to enable JavaScript in my browser or go to the mobile site. I am given no instructions on enabling JavaScript, nor can I find JavaScript in my settings or add-ons. Safari does not have this issue, but I'd prefer to use Firefox. Unfortunately, a web search of this issue does not bring me any results. Is it just me?
Firefox has a general on/off setting for JavaScript. If it was off, lots of sites would be giving you the same message. Since it's only on Facebook, I think something else might be the culprit here.
Your post didn't include any information on your add-ons, so I'll give some general advice.
'''Removing obsolete/conflicting/corrupted stored data'''
When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
(1) Bypass Firefox's Cache
Use Command+Shift+r to reload the page fresh from the server.
Alternately, you also can clear Firefox's cache completely using:
Firefox menu > Preferences > Advanced
On the Network mini-tab > Cached Web Content : "Clear Now"
If you have a large hard drive, this might take a few minutes.
(2) Remove the site's cookies (save any pending work first). While viewing a page on the site, try either:
* right-click and choose View Page Info > Security > "View Cookies"
* Tools menu > Page Info > Security > "View Cookies"
* click the padlock or globe icon in the address bar > More Information > "View Cookies"
In the dialog that opens, you can remove the site's cookies individually.
Then try reloading the page. Does that help?
'''Testing for an extension conflict'''
Firefox's Safe Mode is a standard diagnostic tool to bypass interference by extensions (and some custom settings). More info: [[Troubleshoot Firefox issues using Safe Mode]].
You can restart Firefox in Safe Mode using
Help > Restart with Add-ons Disabled ''(Flash will still work)''
In the dialog, click "Start in Safe Mode" (''not'' Reset)
Does Facebook work any better?
Maybe you are looking for
-
Setting up multiple users / computers with 1 itunes on NAS
Hi all, Sorry in advance is this question has already been asked, there is so much stuff floating around on the forum that it would take for ever to surf thru it all. I recently purchased a Buffalo NAS with itunes server on it. I'm currently in the p
-
Help with Photos on iPad 2?
I have an iPad 2 and for the first time after synching with my Mac the Photos won't update. It just stays on the "Please Wait Updating Library" forever. What is wrong?
-
Alternate photo library in Front Row?
So, I just bought my first Mac, use Front Row, and am a photographer. Can I browse my Aperture Library through Front Row and just not use iPhoto at all?
-
I bought the Rainy Mood app (https://itunes.apple.com/ca/app/rainy-mood/id566752651?mt=8) and it won't install on my iPod Touch 1st Gen. It says that installation requires newer software version and when I check for updates, it tells me that my iPod
-
Re: oracle 11.2.0.4 backup issues
Hi Mike, I need to upgrade 11.2.0.2 to 11.2.0.4 Can you please mention what steps you have followed Thanks