Probably a simple Apache2 html/php root links question

Alright I need some basic help here...
I remember awhile back ago I could use / to specify the root of the web server in a php file. So say I wanted to link to an image at /wwwroot/images/image.gif from an index.php file in /wwwroot/pages/stuff/index.php, all I needed was
<img src="/wwwroot/images/image.gif">
vs.
<img src="http://website.com/wwwroot/images/image.gif">.
The top old method does not seem to work anymore, the image isn't found unless I do a complete URL link. I tried googling for this but its not coming up with anything relevant to my question. Is there an option in the httpd.conf file, or a different character instead of /?
Thanks for any help 

Actually, OP wants to set opacity for non-disabled items Also, if you use jQuery you also don't need to use this "each"-construction as that is totally unnecessary. You can simply chain the "css" part to the returned array, like this
$('input.popup_lov:not(:disabled)').css('opacity','100');
I don't think you need to use jQuery here though. You can use css to override the default style by using that selector and adapting it to your theme or adding important to the rule.
Eggsample:
In theme 24 the opacity is set to 0.75 through this rule (note: formlayout for the region template):
table.formlayout td.lov input.popup_lov
To override this style you would need a selector that has more specificity ("weight") than this selector. Eg
table.formlayout td.lov input.popup_lov:not(:disabled)
Or in this case I'd say that using !important can be feasible as that'll cover the use of the popup lov everywhere.
input.popup_lov:not(:disabled){
opacity: 1 !important;

Similar Messages

  • How to send an entire HTML, PHP dynamic page using phpmail()?

    How to send an entire HTML, PHP dynamic page using phpmail()
    from PHP website, similar to mail this page or send to a friend
    link?

    Hello,
    Please change the mail address
    "info[at]furkids[dot]co[dot]za" from this thread ^^^look above^^^
    to "[email protected]"
    Thank you

  • Probably a simple fix ...

    why doesnt my page look the same in the browser as it does in dreamweaver?
    < what it looks like in dreamweaver ... perfect
    < what it looks like in my browser ... all spread out and messed up
    there is probably something simple i am doing or not doing but i cannot figure it out hopefully someone can help me out
    thank you so so so so much!
    here is this page's code if needed:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Designs by Christina Mae  |  School { print }</title>
    <script type="text/javascript">
    <!--
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    //-->
    </script>
    <style type="text/css">
    <!--
    body,td,th {
    color: #A78462;
    body {
    background-image: url(../webimages/background.gif);
    background-repeat: repeat;
    float: inherit;
    -->
    </style></head>
    <body onload="MM_preloadImages('slices/school-motion/motion_rollover_09.gif','../slices/school- print/print_rollover_04.gif','../slices/school-print/print_rollover_06.gif','../slices/sch ool-print/print_rollover_10.gif','../slices/school-print/print_rollover_09.gif')">
    <table width="1024" height="384" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="221"><table width="221" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="221"><img src="../slices/school-print/print_01.gif" width="221" height="73" /></td>
          </tr>
          <tr>
            <td><img src="../slices/school-print/print_03.gif" width="221" height="71" /></td>
          </tr>
          <tr>
            <td><a href="../web&amp;motion/DESIGNS_motionweb.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image8','','../slices/school-print/print_rollover_04.gif',1)"> <img src="../slices/school-print/print_04.gif" name="Image8" width="221" height="18" border="0" id="Image8" /></a></td>
          </tr>
          <tr>
            <td><img src="../slices/school-print/print_05.gif" width="221" height="33" /></td>
          </tr>
          <tr>
            <td><a href="../freelance/DESIGNS_freelance.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image11','','../slices/school-print/print_rollover_06.gif',1)" ><img src="../slices/school-print/print_06.gif" name="Image11" width="221" height="21" border="0" id="Image11" /></a></td>
          </tr>
          <tr>
            <td><img src="../slices/school-print/print_07.gif" width="221" height="552" border="0" usemap="#Map3" /></td>
          </tr>
        </table></td>
        <td width="803"><table border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td height="655" nowrap="nowrap" bgcolor="#F9F3DE"><script type="text/javascript" src="swfobject.js"></script>
    <div id="flashcontent">SimpleViewer requires JavaScript and the Flash Player.
    <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
    <script type="text/javascript">
    var fo = new SWFObject("viewer.swf", "viewer", "800", "600", "8", "#f8f0dd");
    fo.write("flashcontent");
    </script></td>
          </tr>
          <tr>
            <td nowrap="nowrap"><table width="605" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="553"><p><img src="../slices/school-print/print_08.gif" width="591" height="113" /></p></td>
                <td width="52"><table border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="42"><p><a href="../resume.pdf" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image13','','../slices/school-print/print_rollover_09.gif',1)" ><img src="../slices/school-print/print_09.gif" name="Image13" width="212" height="23" border="0" id="Image13" /></a></p>
                      </td>
                  </tr>
                  <tr>
                    <td><p><a href="mailto:[email protected]" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image12','','../slices/school-print/print_rollover_10.gif',1)" ><img src="../slices/school-print/print_10.gif" name="Image12" width="212" height="22" border="0" id="Image12" /></a></p>
                      </td>
                  </tr>
                  <tr>
                    <td><p><img src="../slices/school-print/print_11.gif" width="212" height="68" /></p>
                      </td>
                  </tr>
                </table></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
    </table>
    <div align="center"></div>
    <map name="Map" id="Map"><area shape="circle" coords="114,449,42" href="DESIGNS_home.html" />
    </map>
    <map name="Map2" id="Map2"><area shape="circle" coords="112,447,40" href="DESIGNS_home.html" />
    </map>
    <map name="Map3" id="Map3"><area shape="circle" coords="114,445,43" href="../DESIGNS_home.html" />
    </map></body>
    </html>

    It's always nicer to see the live page on remote server so we can see the images and everything in context.
    Try changing this:
    body {
    background-image: url(../webimages/background.gif);
    background-repeat: repeat;
    float: inherit;
    to this:
    body {
    background: url(../webimages/background.gif) repeat;
    Also,  remove the height="value"  from your tables.  It's not valid code.
    HTML Validator - http://validator.w3.org 
    CSS Validator - http://jigsaw.w3.org/css-validator/  
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • I have made a webpage in HTML with several links to JPGs / GIFs. The text matter opens perfectly but not the images. Please help me

    I have made a web page in HTML with several links to JPGs / GIFs. While text matter opens up perfectly, but not the images. Please help me.
    == This happened ==
    Every time Firefox opened
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; CTS Version; .NET CLR 1.1.4322; .NET CLR 2.0.50727)

    URL of that web page?

  • Create complex site with no HTML/PHP knowledge {subject edited by moderator}

    I have zero knowledge about web design, i want to create a website that would feature thousands of users creating accounts and writing articles, and for that i think i need to create it using php language, my question is how can i learn it, both the basics,language and how to do it step by step on DW?

    Contact Facebook and ask their team of web developers how they do it.   Seriously, this is no project for a rank beginner.  Without advanced coding skills and a very good grasp of web server security, you are in over your head.  DW is a tool.  It's only as good as the person using it.
    HTML, CSS & Web Design Theory Tutorials -
    http://www.html.net/
    http://w3schools.com/
    http://www.csstutorial.net/
    http://phrogz.net/css/HowToDevelopWithCSS.html
    http://webdesign.tutsplus.com/sessions/web-design-theory/
    Creating your first web site in DW CC:
    http://www.adobe.com/devnet/dreamweaver/articles/CS6/first_website_pt1.html
    PHP Tutorials:
    http://www.html.net/tutorials/php/
    PHP Net
    www.php.net/
    Nancy O.

  • Problem Upgrading Udev: /lib/udev/root-link.sh: exists in filesystem

    Targets: amarok-base-1.4.5-2 amarok-engine-xine-1.4.5-2 aquamarine-svn-3810-1
    beryl-core-svn-3871-1 beryl-manager-svn-3810-1 beryl-plugins-svn-3883-1
    beryl-settings-bindings-svn-3550-2 beryl-settings-svn-3885-1
    bison-2.3-2 dbus-1.0.2-4 dbus-glib-0.73-1 e2fsprogs-1.39-2
    emerald-svn-3810-1 freetype2-2.3.1-1 gcc-4.1.2-3 glibc-2.5-4
    gnupg2-2.0.2-1 vim-7.0.191-1 gvim-7.0.191-1 hal-0.5.8.1-6 kbd-1.12-6
    kdelibs-3.5.6-4 kdepim-3.5.6-3 kernel-headers-2.6.20-1
    kernel26-2.6.20-3 klibc-udev-105-1 ktorrent-2.1-1 libgphoto2-2.3.1-1
    libpng-1.2.16-1 libx11-1.1.1-2 lshwd-1.1.3-5 nvidia-1.0.9746-1
    nvidia-suspend2-1.0.9746-1 nvidia-utils-1.0.9746-1 orbit2-2.14.6-1
    pmount-0.9.13-4 postgresql-libs-8.1.8-1 pygtk-2.10.4-1 samba-3.0.24-3
    seom-svn-161-1 smbclient-3.0.24-1 udev-105-4 unrar-3.7.3-1
    xchat-2.8.0-1
    Total Package Size: 168.8 MB
    Proceed with upgrade? [Y/n] Y
    checking package integrity... done.
    loading package data... done.
    checking for file conflicts...
    error: the following file conflicts were found:
    udev: /lib/udev/root-link.sh: exists in filesystem
    errors occurred, no packages were upgraded.
    I got the above after doing pacman -Syu... Any ideas?

    Yes, you put that file over there as workaround for the hal rootfs-shows-twice bug, and now it got included into udev

  • ComboBox  over HTML text shows link

    I have a ComboBox that opens over an HTML text field. The
    HTML text field contains html text as links i.e. "<a href="">
    etc which change colour on rollOver. Rolling over a link in the
    open ComboBox also triggers the rollOver on the underlying html
    text!
    It's as if the ComboBox is transparent, but I can't get it's
    background to be solid so as not to trigger the rollovers
    underneath. BTW the html links do not respond in any way other than
    to the rollOver. They do not link anywhere if a mouse click happens
    in the ComboBox. If the box is closed however, they do link as
    designed, to other pages.

    The HTML_FORMAT was renamed to TEXT_FIELD_HTML_FORMAT to reflect the fact that it is specific to the htmlText property in TextField, not a general html implementation.
    This is working correctly for me:
                var _text:String = "<html><body><span>first line of text, <i>this is italic</i> and <a href='cnn.com'>a link to cnn</a>, 2nd line of text.</span></body></html>";
                var _flow:TextFlow = TextConverter.importToFlow( _text, TextConverter.TEXT_FIELD_HTML_FORMAT);
                _flow.fontLookup = FontLookup.DEVICE;
                _flow.renderingMode = RenderingMode.NORMAL;
                _flow.fontFamily = "Arial";
                var s:Sprite = new Sprite();
                s.x = 30;
                s.y = 30;
                _flow.flowComposer.addController(new ContainerController(s, 300, 500));
                _flow.flowComposer.updateAllControllers();
                addChild(s);

  • Probably incredibly simple question, so sorry. I have just changed e-mail after many many years and I want to e-mail everyone in my mac mail client with the new e-mail address at the same time.

    Probably incredibly simple question, so sorry. I have just changed e-mail after many many years and I want to e-mail everyone in my mac mail client with the new e-mail address at the same time.

    If you are using Address Book, open it, create a new Group, select all you contacts by click the top one while holding down the shift key and then select the last one. Drag the contacts to the group, then send an e-mail to the group.

  • Is it possible to serve a few plain old simple static HTML pages with ITS?

    Hi,
    I am looking for a way to serve a few plain old simple static HTML pages (together with some javascript and image files) with ITS?
    The HTML page should be served unaltered.
    Is this possible somehow?
    Thanks,
      Wolfgang

    Hello Wolfgang.
    Yes, that is possible.  What ITS are you using, Integrated or Standalone?
    With Standalone you could just put the static HTML anywhere in the web server directory. 
    With Integrated ITS you will need to upload it to the Integrated ITS and then publish your static HTML.  There is an example of this in the SYSTEM service.  Just go to SE80 > SYSTEM Internet Service > Topic SL > Mime Objects > PAGE > aboutbox.html.
    Edgar

  • Probably super simple...ACL/VLANs

    I have a VLAN 6 that is dedicated to a Partner organization (they share our bandwidth and schedule conference rooms with our Exchange).
    Question is how do I configure ACLs to direct ALL traffic to and from Partner, exception of accessing our Outlook Web Access and DNS servers in VLAN 1, and our websites in VLAN 2 ?
    This is probably super simple but I keep ending up with traffic going where I don't want it to.  Thanks so much...
    (And if anything else seems wacky about this setup, blame the last IT guy)

    What is the platform you are using??? ASA, router??
    Thanks,
    Varun Rao
    Security Team,
    Cisco TAC

  • How to use html pages as links on portal

    Hi,
    I have uploaded some html files in KM.
    Now i want to create an iview and add these uploaded html files as hyperlinks in that iview.
    Can i know the solution for these?
    Awaiting for your respose.
    Regards,
    Raju

    Hi buddy,
    from your initial question, i guess you need to display a page which has multiple links to various pages which you have uploaded in KM.
    So what you can do is, create another html file which link in it.
    <a href = "some_html_file.html">Page1</a>
    <a href = "some_html_file.html">Page2</a>
    <a href = "some_html_file.html">Page3</a>
    <a href = "some_html_file.html">Page4</a>
    Some_html_file.html should point to the corrrect file(s) in the KM directory. Now save the new file which you have created (the one with links) in the KM directory and create a KM Document iView for this page and assign it to a role, and assign the role to the user and test.
    Thanks,
    GLM

  • Aus einer HTML/PHP Datei eine PDF erstellen

    Hallo Zusammen,
    ich möchte aus einer im Browser angezeigten html/php-Website eine pdf erstellen!
    wie möchte ich das!
    1. Ich habe eine HTML/PHP-Seite
    2. Ich habe auf dieser Seite einen Button.
    3. Ich möchte nun, sobald ich den Button betätige aus der angezeigten HTML/PHP-Seite eine PDF-Datei erzeugen.
    4. Mit FPDF und HTML2pdf habe ich es bereits versucht, bin aber zu keinen erfolgsversprechenden Ergebnis gekommen. (Vielleicht hat jemand ein funktionierendes Beispiel !!!!!!!!!!)
    5. Meine Frage: Gibt es bei ADOBE eine EXTENSION ????
    6. Ich setze DREAMWEAVER CC auf einem Windows-Rechner ein.
    Vielen Dank im voraus.
    U. Storsberg

    Hallo Zusammen,
    vielen Dank für Eure anworten.
    Vielleicht habe ich mich falsch ausgedrückt.
    Ich möchte nichts anderes als das was diese Seite auch kann.
    Hier auf dieser Seite gibt es eine "ACTION" (rechts oben); darunter steht "VIEW AS PDF".
    Genau so etwas brauche ich.
    Wie funktioniert das?
    Vielen Dank für Eure Antworten
    Gruß
    Ekiam

  • Probably a simple solution, but . . .

    Hi there - There is probably a simple fix to this - and it probably doesn't even matter, but I'm curious. When I attach an exported file to an email, it is attaching as a picture of the document, rather than as an icon with the document's name. The thing is, it used to attach as the icon and not the actual document. I know it probably doesn't matter, but I liked it better when attaching the icon representing the doc. I've probably hit a button or flipped a switch I didn't know I hit or flipped, but where is it and how can I reset it? Thanks a lot!
    Craig

    Craig,
    I may not have understood the original question. The comment and action James has posted would relate to whether a file would View in Place as you compose -- it does not impact what is sent.
    However, I thought you were describing the file Icon as having a Preview or Thumbnail, and not a full View in Place? If a file has a photo-like thumbnail, it is the result of the saving of the file, and not something in Mail.
    Please clarify?
    Ernie

  • Probably a simple SQL Query - Newbie

    I want to select entries from a table that has 2 columns where the first column value is contained within the 2 column....Does that make sense?
    The first is a varchar that contains a value for a customer. The second is a varchar that contains a a textual description of a problem the customer has. My problem is that I only want to select the entries in the table where the second column contains a description that includes the first column value.
    eg. I want to select rows that have the following condition:
    column1 has value of "customer1"
    column2 has a value of "an error was reported by customer1 on service blah"
    but not these
    column1 has value of "customer1"
    column2 has a value of "an error was reported by customer2 on service blah"
    This is probably a simple question but I've spent time looking at how to do it and can't seem to manage...any help would be appreciated....Thanks

    Hi Barbara,
    I've never used the CONTAINS operator before. I compared the use in this situation to the other methods and found the others to be FAR less resource intensive, despite working on unindexed columns, as I demonstrate below.
    It would seem that CONTAINS is unsuited to this type of simple query. Can you shed any light on this, from the perspective of somebody who has used it before? Is this type of performance penalty normal? If so, it could seem that CONTAINS is fairly useless next to LIKE.
    [email protected]> desc test;
    Name                                        Null?    Type
    COLUMN1                                              VARCHAR2(20)
    COLUMN2                                              VARCHAR2(100)
    [email protected]> select count(*) from test;
      COUNT(*)
         10000
    Elapsed: 00:00:00.00
    [email protected]> select * from test where instr(column2, column1) > 0;
    10000 rows selected.
    Elapsed: 00:00:00.18
    Execution Plan
       0      SELECT STATEMENT Optimizer=ALL_ROWS (Cost=23 Card=8328 Bytes=532992)
       1    0   TABLE ACCESS (FULL) OF 'TEST' (TABLE) (Cost=23 Card=8328 Bytes=532992)
    Statistics
              5  recursive calls
              0  db block gets
            821  consistent gets
              0  physical reads
              0  redo size
         702263  bytes sent via SQL*Net to client
           7838  bytes received via SQL*Net from client
            668  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
          10000  rows processed
    [email protected]> select * from test where column2 like '%'||column1||'%';
    10000 rows selected.
    Elapsed: 00:00:00.18
    Execution Plan
       0      SELECT STATEMENT Optimizer=ALL_ROWS (Cost=23 Card=8328 Bytes=532992)
       1    0   TABLE ACCESS (FULL) OF 'TEST' (TABLE) (Cost=23 Card=8328 Bytes=532992)
    Statistics
              5  recursive calls
              0  db block gets
            821  consistent gets
              0  physical reads
              0  redo size
         702263  bytes sent via SQL*Net to client
           7838  bytes received via SQL*Net from client
            668  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
          10000  rows processed
    [email protected]> create index testidx on test(column2) indextype is ctxsys.context;
    Index created.
    [email protected]> select * from test where contains(column2, column1) > 0;
    10000 rows selected.
    Elapsed: 00:00:56.80
    Execution Plan
       0      SELECT STATEMENT Optimizer=ALL_ROWS (Cost=25008 Card=4 Bytes=284)
       1    0   TABLE ACCESS (FULL) OF 'TEST' (TABLE) (Cost=25008 Card=4 Bytes=284)
    Statistics
          55201  recursive calls
              0  db block gets
          85857  consistent gets
              0  physical reads
              0  redo size
         702263  bytes sent via SQL*Net to client
           7838  bytes received via SQL*Net from client
            668  SQL*Net roundtrips to/from client
            204  sorts (memory)
              0  sorts (disk)
          10000  rows processedThanks in advance,
    Anthony

  • Probably a simple solution to tweak a particle preset, please help

    I am doing an effect for a friends video where a UFO is hanging in the air. I have tweaked the look of the 'Pulsing Laser Star' to what I want, however, the camera pans from the actors face to the light. I can't figure out how to already have it there. it's always births from nothing. I have tried setting the birthrate to 0 and the initial number up but that doesn't do it. I haven't used Motion all that much but I liked the look of this particle. Probably something simple. Can anyone offer any advice?

    You mean you need a particle emiter to just stand still?
    http://www.applemotion.net/blog/2011/5/2/motion-on-macbreak-studio-3d-particle-t ricks.html

Maybe you are looking for