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!)

Similar Messages

  • 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.

  • Web Identity Plate Sizing Issue

    I am using a web engine from Lightroomgalleries.com called LRG FSS Select. But my issue happens with the flash engines that came with Lightroom originally. The pixel height of 57 for the identity plate is really limiting! I've seen some work around in the Print module to move text on the photo, however I'm using an image. No matter what size I make the image Lightroom resizes it so small that the text is barely readable. Follow this link to see what I'm talking about...
    This is the identity plate I get using a Flash Engine.  http://www.tuanlee.com/weddings/
    This is the identity plate I get using an HTML Engine.  http://www.tuanlee.com/weddingsnonflash/
    Is there some sort of trick to make the Flash identity plate the same size at the identity plate I get when I use an HTML engine. What am I missing here?
    Thanks in advance!

    Anyone have any experience with this?  Is this something that contacting Adobe directly with would help?

  • Closing the browser windows created by web.show_document and javascript

    From Forms I am issuing a http request using web.show_document and javascript:window.open(). The http request makes a remote procedure call to a coldfusion component on a JRun appserver. I want this rpc to fire in the background so that the current forms browser window remains as is.
    The logic is as follows
    l_rpcURL := 'http://....just a standard URL.....'; -- edited for this thread
    l_jsURL := 'javascript:window.open("' || l_rpcURL || '","","fullscreen=no,titlebar=no,location=no,toolbar=no,menubar=no,status=no,resizable=no");self.close();';
    WEB.SHOW_DOCUMENT (l_jsURL,'_blank');
    The http request works fine but leaves a browser window behind. It's the one created by the javascript.window.open(). If I remove the self.close() from the javascript then I have two browser windows open, one from web.show_document and the other, as described previously, from the window.open().
    Any idea how I can force closure of the window opened by the window.open() ?
    Thanks

    Hi,
    did this occured afer installing service pack 2?
    A work around is The only solution that is to create a close.html file and calling this file in the code: Web.show_document('http://server:port/close.html','_self');
    <html>
    <body onload="closeit()">
    <script>
    window.close();
    </script>
    </body>
    </html>
    Monica

  • Web.show_document() with javascript

    Hi Guys,
    I'v been searched this forum about web.show_document() with javascript.
    I saw some threads said
    I can do like
    WEB.SHOW_DOCUMENT ('javascript:window.open("http://www.google.com","","fullscreen=no,titlebar=no,location=no,toolbar=no,menubar=no,status=no,resizable=yes");self.close()','_blank');
    and someone said it worked, but it doesn't work in my machine.
    also some one said the javascript engine is not included in Form 10.1.2, so I can not use WEB.SHOW_DOCUMENT function like above.
    My form builder is 10.1.2.0.2 (Production), os is xp sq2 ,ie 6.(ie6 has some tighter security)
    I want to get clarification about this function, can i use the javascript on it or not ? I really want the pop up window without toolbar and customize size. I need do some configuration in formweb.cfg also?
    Thanks in advance. I appreciated every response.
    Appcat

    Hi Jan,
    Thanks for your reply. I check the metalink about it.
    The first solution is
    1. Make forms Developer URL a trusted site in IE to allow script executions.
    For that open Internet Explorer->Internet Option-> Security.
    Select the "Trusted Sites" Option.
    Click on the Sites Button.
    Add the Developer Suite URL in that.
    for example
    http://<Yourmachinename>:8889/
    It doesn't work in my machine ,still can not activate the javascript.
    The second solution is
    2. Place the script invocation code in a html file in Oracle_home/forms/server directory and call it.
    For example :
    Create a simple form.
    In Forms Trigger :
    web.show_document('http://<Yourmachinename>:8889/file.html');
    In the file.html you may enter the code, for example:
    <HTML>
    <HEAD>Heading</HEAD>
    <BODY>
    <SCRIPT LANGUAGE="Javascript">
    window.open("http://www.yahoo.com","_self");
    </SCRIPT>
    </BODY>
    </HTML>
    It also doesn't work in my machine, the problem is http://<Yourmachinename>:8889/file.html can not be found, even i put it under the Oracle_home/forms/server folder, but i click it directly ,the javascript works. that means the URL http://<Yourmachinename>:8889/file.html is incorrect or I should put the html file into other directory. And I also checked the default.env,FORMS_PATH=D:\DevSuiteHome\forms.
    anything wrong with my env?
    Do you have any idea about it?
    Thanks,
    Appcat
    Message was edited by:
    user577805
    Message was edited by:
    user577805

  • 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?

  • What does it mean "Business Service leak: Web Engine State Properties"

    Hi ,
    We are on the Siebel 8.0.0.2 with extra patches to address the memory Issues. we are experiencing memory Leak, When I increase the logging level to 5 and couple of other parameter enabled, I see statements like "Business Service leak: Web Engine State Properties" ( even for Custom Business Service as well). Also when I enable Trace Statements, I don't see Release statements for the ALLOCS associated with Business Services. I am wondering to know if you have experienced something of this sort? Any thoughts will be greatly appreciated.
    Thanks,
    GS
    Edited by: user4496185 on Jan 20, 2009 12:03 PM

    Agree with everyone's suggestions here. We recently went through a process of reviewing all of our eScript and found a number of occurrences of objects created and never destroyed.
    We applied a standard approach of declaring object type variables at the beginning of each script then destroying them all with a finally() block at the end (oObject=null).
    Initialising objects if and when they are required, instead of all up front at the beginning of a script, may also serve to reduce the impact of this problem. So instead of:
    var oCustBS = TheApplication().GetService("Custom BS");
    if (bIsRecord) {
         oCustBS.InvokeMethod("CustMethod");
    oCustBS = null;
    ...use:
    var oCustBS;
    if (bIsRecord) {
         oCustBS = TheApplication().GetService("Custom BS");
         oCustBS.InvokeMethod("CustMethod");
    oCustBS=null;
    ...There is an Expert Services Review which can be conducted that will identify problems, though it's relatively straight forward to do so yourself with enough time and effort.

  • Problem: 503 Service Unavailable  SAP WebAS Engine is starting...

    Problem: 503 Service Unavailable
    SAP WebAS Engine is starting...
    If this state does not change within a few minutes,
    please contact your system administrator.
    Check the recommendations in SAP Notes: 943498, 764417
    Message: Dispatcher running but no server connected!
    Details: No details available
    This problem occurs suddenly after a time interval when working on Sap Enterprise Portal. Please Suggest me Number of possible solutions for this type of problem.....
    Thank's in Advance
    Regards-
    Sumeet Sharma

    Hi,
    The issue here is that the JAVA engine has not ye started completely. Check the status of the SAP instance in SAP MMC. You need to have the SDM, dipatcher, Server0 in green(started completely). If the server0 is in yellow/grey, then u will not be able to launch the portal URL.
    Check and post us the dev_server0 log for more information.
    Regards,
    Varadharajan M

  • Image Quality issue with script

    So I recently wrote a simple script to output an image at a bunch of different resolutions. However, I am running into an image quality issue that I don't run into when I do the same thing manually.
    Here is an example image showcasing the image: http://terminalvelocity.ca/temp/notworking.jpg
    As you can see along the top of the model's forhead there is destinct color fragmentation. Which seems very strange.
    Here is the script, it is pretty simple, it asks for a few simple config options. (the above image was created using default settings). It then figures out the correct ratios and loops through doing each resize, saving the image, then reverting the history so each iteration uses the original image data and not the resized version:
    doc = app.activeDocument;
    openFilePath = Folder.selectDialog ("Where do you want the images to be saved?");
    maxSize = Number(prompt("What would you like to be the maximum length of the long edge? (Image is never upsized) (pixels)", 2800)); 
    minSize = Number(prompt("What would you like to be the minimum length of the long edge? (pixels)", 100));
    gap = Number(prompt("How much smaller should each image be? (pixels)", 100)); 
    quality = Number(prompt("What quality would you like the JPG exported as (0-12)", 10)); 
    var size;
    var primary;
    var secondary;
    if(doc.width > doc.height){
              primary = doc.width;
              secondary = doc.height;
    }else{
              primary = doc.height;
              secondary = doc.width;
    var ratio = secondary/primary;
    var size = [];
    for(var i = maxSize;i>minSize;i-=gap){
              var  p = i
              var s = i * ratio;
              size.push([p,s]);
    var w;
    var h;
    var n;
    for(var i in size){
              if(doc.width > doc.height){
                        w = n = size[i][0];
                        h = size[i][1];
              }else{
                        w = size[i][1];
                        n= h = size[i][0];
              if(doc.width >= w && doc.height >= h){
                        doc.resizeImage(w,h,null,ResampleMethod.BICUBICSHARPER);
                        jpgFile = new File(openFilePath+"/"+n+".jpeg" )
                        jpgSaveOptions = new JPEGSaveOptions()
                        jpgSaveOptions.embedColorProfile = false
                        jpgSaveOptions.formatOptions =
                        FormatOptions.STANDARDBASELINE
                        jpgSaveOptions.matte = MatteType.NONE
                        jpgSaveOptions.quality = quality
                        app.activeDocument.saveAs(jpgFile, jpgSaveOptions, true,Extension.LOWERCASE);             
                        doc.activeHistoryState = doc.historyStates[doc.historyStates.length-2];
    In comparison, here is an example of an image of the exact same resolution that does not exhibit this issue at all:
    The steps taken to save this image were as follows: http://photography.terminalvelocity.ca/content/images/2012/avery_konrad_6/horizontal/1500. jpg
    Image > Resize > Bicubic Sharper (1500px);
    Save For Web
         Jpeg
         Quality 75
         Optimzed: true
         Progressive: false
         Blur: 0
         Convert to sRGB: true   
    Anyway, as you can see, The manually exported image does not have any of the quality issues that are present within the scripted image. I am pretty new to photoshop scriping so am assuming it has something to do with me missing some sort of option in the save settings. Any help would be swell.
    Also note, this doesn't occur on all images, I usually don't see an issue when using the script, however, something about the tones of this particular photo make it really obvious.
    I am using the latest version of Photoshop CS6 (creative cloud) on Max OSX
    thanks so much!

    I'm on windows find the bicubicsharper does not work well it the image being resized has been highly sharpened all ready. Because of my Photoshop preferences I had to make minor modification to your script. I'm also a bit colorblind so i don't see many color issues so I include a screen capture if what windows does with your image and script.
    var orig_ruler_units = app.preferences.rulerUnits;
    app.preferences.rulerUnits = Units.PIXELS;          // Set the ruler units to PIXELS
    doc = app.activeDocument;
    openFilePath = Folder.selectDialog ("Where do you want the images to be saved?");
    maxSize = Number(prompt("What would you like to be the maximum length of the long edge? (Image is never upsized) (pixels)", 2800));
    minSize = Number(prompt("What would you like to be the minimum length of the long edge? (pixels)", 100));
    gap = Number(prompt("How much smaller should each image be? (pixels)", 100));
    quality = Number(prompt("What quality would you like the JPG exported as (0-12)", 10));
    var size;
    var primary;
    var secondary;
    if(doc.width > doc.height){
              primary = doc.width;
              secondary = doc.height;
    }else{
              primary = doc.height;
              secondary = doc.width;
    var ratio = secondary/primary;
    var size = [];
    for(var i = maxSize;i>minSize;i-=gap){
              var  p = i
              var s = i * ratio;
              size.push([p,s]);
    var w;
    var h;
    var n;
    for(var i in size){
              if(doc.width > doc.height){
                        w = n = size[i][0];
                        h = size[i][1];
              }else{
                        w = size[i][1];
                        n= h = size[i][0];
              if(doc.width.value >= w && doc.height.value >= h){
                        doc.resizeImage(w,h,null,ResampleMethod.BICUBICSHARPER);
                        jpgFile = new File(openFilePath+"/"+n+".jpeg" )
                        jpgSaveOptions = new JPEGSaveOptions()
                        jpgSaveOptions.embedColorProfile = false
                        jpgSaveOptions.formatOptions =
                        FormatOptions.STANDARDBASELINE
                        jpgSaveOptions.matte = MatteType.NONE
                        jpgSaveOptions.quality = quality
                        app.activeDocument.saveAs(jpgFile, jpgSaveOptions, true,Extension.LOWERCASE);            
                        doc.activeHistoryState = doc.historyStates[doc.historyStates.length-2];
    app.preferences.rulerUnits = orig_ruler_units;          // Reset units to original settings

  • Links2 -g javascript issue [solved]

    I installed the community build of links2 -g as my backup web browser and to view html files on my computer.  The web site describes javascript capability and their manpage indicates a setup box for adjustments.  The PKGBUILD in ABS indicates that it should be compiled in?  not sure about this. (I'm new)  There is no setup box for javascript under setup and when I go to a website that definitely has javascript I get the "please enable or switch browser messages".  I checked with Firefox/Noscript enabled and it reported the same message until I gave permissions.
    Is this feature turned off due to security issues? Can I reset something in ABS to rebuild with javascript enabled?  Any help would be appreciated. 
    Thanks
    javascript was listed as buggy on website.
    Skippy
    Last edited by skippy (2008-02-16 05:01:15)

    I am seeing some similar weirdness in manually created tabular forms using apex 3.2 and 4.01. I have an order form where the f01 .. f09 items get saved in a collection when the user hits the next button (collection is truncated then rebuilt using ...add_member). If they go back to the tabular form with the previous button the quantity entered for a particular row in the form gets moved down to the next row. You can hit next and previous and it will keep on happening. Eventually the quantity entered will cycle through all the html rows and back to the top. It does not happen with IE 8, FF 3.6 or Chrome. It is like the fXX items are not properly sequenced in the html form. I have spend hours trying to figure this out to no avail. The only variable is FF 4. I've tried 5 different themes. No luck.
    Dave

  • How to show modal window without popup in a web page using javascript

    Hi,
    How to show modal window without popup in a web page using javascript, means when the modalwindow is opened it should not ask for popup blocker alert......
    pls help me.....

    Thanx for ur reply,
    Actually the senario is when i click on a button, another jsp page should be displayed in a modal window without popup, but the functions alert() and confirm() will not accept the url path of the another jsp page...

  • How can I call a web service using JAVAscript in LCD

    hi guys,
         I know it can call a WSDL in LCD, but I have not any WSDL web service , and I have a REST web service ,how can I call this REST web service in LCD? I checked some documents and found nothing...if it's possible that it can call a REST web service using JAVAScript code, I mean I can program some code to call this web service ?
    thanks,
    Jesse

    Hi Jesse,
    You can do GET, PUT and POST using FormCalc, so you should be able to access a REST web service. 
    There is a example of accessing a RSS feed in this thread, http://forums.adobe.com/message/5695433#5695433
    Regards
    Bruce

  • How to Hide some Rows in a List view Web Part using JavaScript ?

    How to Hide some Rows in a List view Web Part using JavaScript ?

     Here is the code that worked for me:
    var Elements = document.querySelectorAll('div[id=WebPartWPQ3] table[class=ms-listviewtable]>tbody tr .ms-vb-lastCell.ms-cellstyle.ms-vb2')
    for(var i=0, n = Elements.length; i < n; i++)
     if(Elements[i].innerHTML=="India")
    Elements[i].parentNode.setAttribute("style","display:none")
    WebPartWPQ3 -> ID of webpart Div
    ms-listviewtable -> class name of table in Div
    ms-vb-lastCell.ms-cellstyle.ms-vb2 -> classname of td to get text

  • Muti-page HTML Web Engine that shows filename or other details

    I am getting frustrated with the limited web support in Lightroom 2.1. I am looking for a very basic HTML based web engine that can show labels, flagged status or name on the thumbnail page. I don't have the time to figure out the SDK and start writing my own.
    I have tried the TTG engines, which will allow you to put additional info into the thumbnails, but it dumps everything into one page and it doesn't stack the thumbnails correctly.
    Can anyone point me to something that would work. It just shouldn't be this hard.
    Thanks,
    Chris

    Right.
    There are 3 ways to use CSS:
    Inline: styles applied to the  HTML code between the <body> tags.  This is not usually recommended.
    Embedded:  inside  <style> and </style> tags between the  <head> tags in your HTML document. This code is applied to only one page.
    External: a physical file that contains nothing but CSS code and applies to all site pages that are linked to it.
    If you have a unique style you want to use on a single page, either use embedded CSS (in the HTML document itself) or set up a unique class in your external stylesheet.
    CSS classes:
    .center {text-align:center}
    .right {text-align:right}
    .left {text-align:left}
    HTML:
    <p class="center"> this is centered text</p>
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Image quality issues in PS - word to PDF

    Hi,
    I am having major image quality issues when trying to make my word document a clean, clear PDF. Images become distorted. Borders for tables and text that are equal px size look like they are different sizes throughout the document.
    I have searched the internet, read help, and tried many different things:
    Word 2007 - Changed image %, image size, export options, adjusted px for borders, used different styles
    Acrobat 9 Pro - Changed import settings, import options, print options, tried press quality, high quality, etc.
    Photoshop CS4 - Changed ppx, file format, compression options
    What can I do to get a clean, clear PDF file with the images and borders preserved?
    Thank you.

    In converting a MS Office file to PDF, Photoshop cannot help in any way and will likely cause more harm as it may rasterize vector data. Expect your ideal answer in the Acrobat forum.

Maybe you are looking for