Can I link my Media Query to a HTML file?

Can I make this below:
<link href="mobile.css" rel="stylesheet" type="text/css" media="only screen and (min-width:300px) and (max-width:320px)">
to link to an HTML file instead like -> <link href="mobile.html" rel="stylesheet" type="text/css" media="only screen and (min-width:300px) and (max-width:320px)"> ?
Thanks in advance.

I'm trying to get the browser to look at what "media width" and then autodirect to another html file. So as an example:
Webpage opens, looks to see if i'm on a device that has a maximum width of 320px if NO then it stays as is. if YES, it loads another html file that is 320px freindly.
My website has stacks of java going on, and will not work on mobile devices properly. Just changing the css file won't do anything close to what the website looks like.
I've searched and searched and found nothing.

Similar Messages

  • Can I use Photoshop Elements 13 to create HTML file?

    Can I use Photoshop Elements 13 to create HTML file?

    See Barbara's answer in your duplicated post: How can I save a Photoshop Elements 12 file as HTML?
    No difference with PSE13.

  • Can anybody provide the SQL query to find the files uploaded in a particular folder?

    Hi All,
    Can anybody provide the SQL query to find the documents (document name) uploaded in a particular folder? While clicking on folder in
    GUI I'm hitting the Timeout error. I would like to find the files uploaded into this folder from SQLPLUS.
    Any help is greatly appreciated.
    With best regards,
    Nevin

    Nevin,
    Be great if we could know the version of Portal. For Rel. 1, here's the query
    select id,masterthingid from wwv_things
    where siteid = &site
    and cornerid = &corner
    &site - Content Area id
    &corner - Folder id
    if you don't know the folder id, use
    select id from wwv_corners where siteid = &site
    and name = &folder
    Hope this helps. I have run into this situation before. Usually, the culprits were
    one of the following:
    1. Junk Characters in description of item (caused due to Copy-Paste)
    2. Special Characters in the File name
    Hi All,
    Can anybody provide the SQL query to find the documents (document name) uploaded in a particular folder? While clicking on folder in
    GUI I'm hitting the Timeout error. I would like to find the files uploaded into this folder from SQLPLUS.
    Any help is greatly appreciated.
    With best regards,
    Nevin

  • Can AnyOne Please Tellme How to configure the HTML files

    This is very Urgent.
    1.I am using the WLS7.0 sp1 .I need to configure theHTML files which are in a
    different path how can I map them to the present DefaultWebAPP directory.
    2. How can I get rid of the port number when I am fully using in production mode.
    I have been posting this query since long but in vain. Please guide me

    1. I got rid of port number with link provided by the karthik.
    2.How can I create a link .The link appends to the defaultwebapp directory
    and checks from their .I need to know how to configure the
    HTML files which are not in the DefaultWebApp.But completely in directory.
    Any suggestions !!!!!!!
    Shehzad <[email protected]> wrote:
    1. You can create a link to that directory
    2. In order to get rid of port number, either boot weblogic at default
    port 80, or use Apache or Iplanet webserver, and use Weblogic plugin.
    That way all the traffic comming in from http will comein at port 80
    to the webserver, and would then be forwarded to Weblogic at whatever
    port it is booted.
    This is very Urgent.
    1.I am using the WLS7.0 sp1 .I need to configure theHTML files whichare in a
    different path how can I map them to the present DefaultWebAPP directory.
    2. How can I get rid of the port number when I am fully using in productionmode.
    I have been posting this query since long but in vain. Please guideme

  • Getting links and its names from a html file

    Hi everyone
    My problem about the a getting links with name from a html file. For example
    &#304;n a web page in this site ?SUN? when use click SUN the browser open http://java.sun.com
    &#304; want both of them, so the links and name. I can succeeded the get link but i don t know how to get the link name.
    For example :
    <B>setRightComponent(Component)</B>
    &#304;n this code segment i want to get B tag. But how i don t know. To get A tag i used this code
    List result = new ArrayList();
    try {
    // Create a reader on the HTML content
    URL url = new URI(uriStr).toURL();
    URLConnection conn = url.openConnection();
    Reader rd = new InputStreamReader(conn.getInputStream());
    // Parse the HTML
    EditorKit kit = new HTMLEditorKit();
    HTMLDocument doc = (HTMLDocument)kit.createDefaultDocument();
    kit.read(rd, doc, 0);
    // Find all the A elements in the HTML document
    HTMLDocument.Iterator it = doc.getIterator(HTML.Tag.A);
    while (it.isValid()) {
    SimpleAttributeSet s = (SimpleAttributeSet)it.getAttributes();
    String link = (String)s.getAttribute(HTML.Attribute.HREF);
    if (link != null) {
    result.add(link);
    it.next();
    &#304; can use B tag but i don t know hot to get its value because it has no prefix such as HREF....
    i am sorry if i use a bad explanation style or incorrect word.

    import java.io.*;
    import java.net.*;
    import javax.swing.text.*;
    import javax.swing.text.html.*;
    class GetLinks
        public static void main(String[] args)
            throws Exception
            // Create a reader on the HTML content
            Reader reader = getReader( args[0] );
            // Parse the HTML
            EditorKit kit = new HTMLEditorKit();
            HTMLDocument doc = (HTMLDocument)kit.createDefaultDocument();
            doc.putProperty("IgnoreCharsetDirective", Boolean.TRUE);
            kit.read(reader, doc, 0);
            // Find all the A elements in the HTML document
            HTMLDocument.Iterator it = doc.getIterator(HTML.Tag.A);
            while (it.isValid())
                SimpleAttributeSet s = (SimpleAttributeSet)it.getAttributes();
                String href = (String)s.getAttribute(HTML.Attribute.HREF);
                int start = it.getStartOffset();
                int end = it.getEndOffset();
                String text = doc.getText(start, end - start);
                System.out.println( href + " : " + text );
                it.next();
        // If 'uri' begins with "http:" treat as a URL,
        // otherwise, treat as a local file.
        static Reader getReader(String uri)
            throws IOException
            // Retrieve from Internet.
            if (uri.startsWith("http:"))
                URLConnection conn = new URL(uri).openConnection();
                return new InputStreamReader(conn.getInputStream());
            // Retrieve from file.
            else
                return new FileReader(uri);
    }

  • Why can't anyone else see my Edge Animate html files in their browsers?

    I create this awesome file with bells and whistles and looks and runs great on mY computer and in mY browsers but when I send a client(s) the HTML file to view in their browser it NEVER works! Do I need to send them all the files? The image folder...the JS files and the HTML? I think I did that once and it still diodn't work...I understand that the browsers all dont play nice and that m os need to be updated on the client end but is there a good way to save the Animate file so that my clients can use the file to place in a website. I am creating small web ads.
    Thanks for all your help!
    Maria

    Do you have a website? If yes, you can load all your files at the root level and then you can send the link to your clients.
    It would go like this:
    http://www.yourWebsiteName.com/yourEdgeFolderName
    (I would name the edge files index rather than something else because most web server prefer that.)
    You could also create an html file with all your samples and iframes to load them. Then you need to put each edge folder at the root of your website.

  • Link button in applet to open html file in same window

    Hello I am an student in holland.
    I am working on a project but can't find a code to make a button what links to an html file practicly just a link
    I got a html where i need to implent the applet to the applet only needs 10 buttons who can link to another html file or site.
    its not realy difficult i geus but i just cant find the right codes and because i only got 1 day left im asking for help on this forum.
    I realy hope you guys can help me.
    greets,
    Rob

    It's hard to tell what you're asking, but you should probably take a look at java.applet.AppletContext.showDocument.

  • DW 11.0 Build 4993 - why can't I use Design view with an HTML file?

    Subject line basically says it all: I started a new HTML file, but I can't switch to design view.  Anyone have any idea why?  Thanks!

    Which operating system? Mac or PC?
    Can you post a set of reproducible steps so we can follow what you're doing?

  • Can I link to a table in another Numbers file?

    I have searched through the documentation and on support and cannot find a way that I can reference a cell belonging to another Numbers file. I essentially want to use one Numbers file to store a very large amount of data and have separate smaller files access that data. So far I have only been able to link to cells on a different sheet in the SAME Numbers document.
    iWork Pages allows me to link to a Numbers docuement table so I was hoping to find a similar capability within Numbers itself.
    Karen

    That feature is unavailable. A search of this forum on the word "link" will provide numerous questions on the same subject. It is obviously a highly desired feature.

  • How to link an  APEX button to a HTML file stored on the app server ??

    Hopefully this will be simple for someone
    We have some very technical word documents that I really didn't want to replicate in oracle reports
    So i have saved them as html docs , and when i open then in IE they look fine
    I have placed them in the folder where our reports are stored , but I cannot figure out how to create the URL to place behind a button in APEX ??
    Obviously the oracle reports url won't work as the uses pdf's and the servlet
    Thanks in advance
    Chris

    Assuming you are using Apache?
    You could place your Word docs in the same folder as your current Apex images directory (or a sub-directory off it) then reference them with a URL of the form http://yourserver/i/sample_word_file.doc. Alternatively you could add a new Alias entry to your dads.conf file (found in your Apache/modplsql/conf directory) to expose the folder on your webserver that contains your Word files via a URL such as http://yourserver/word_docs/
    E.g.
    Alias /word_docs/ "c:\my_docs\technical_word_docs/"
    Andy

  • [web] how can i set the name of an exported html file

    Hi,  I'm writing a plugin to export galleries for my homepage (standard html stuff). My current solution works and it creates a file named "index.html" and some additional stuff. Now I want to change the name of the created html file in the plugin (for example create a file galleryX.html with X being a number that is entered by the user). Is there a way to do this?  Thank you in advance, Sebastian

    I think the names of the files come from the plugin manifest. So you would create a file used as a template, and the name of that file would be the name of the resulting file.
    AddPhotoPages and AddGridPages take options to control the target HTML filename that might give you what you want, as well.

  • Can you change the permissions on a single html file in the root of a MOSS 2007 site?

    I know what the right answer is, the correct way to implement this is to create a library off the root and place the file that needs to have unique permissions into this library and either change the permissions of the library or of the individual file itself. 
    Anyways, that's what we're going to do...
    However, I'm curious...  Is there a way to change the permissions of a file that was manually placed in the root of a MOSS 2007 site?  I've tried through the GUI and through Designer, and also searched the WWW with no luck.  Is this even doable? 
    We don't want to change the permissions on the entire site, just that one file.
    Thanks,
    -Richard.

    Hi Richard,
    I thinks the file on the root directory of a SharePoint site is unable to be set with a unique permission, SharePoint securable object are web, list/library, list/library iteml, as what you're going to do, the workaround is
    to put the file in a libary and grant the unique permission.
    http://office.microsoft.com/en-001/windows-sharepoint-services-help/about-controlling-access-to-sites-and-site-content-HA010100144.aspx?CTT=5&origin=HA010100149
    http://office.microsoft.com/en-001/windows-sharepoint-services-help/manage-permissions-for-a-list-library-folder-document-or-list-item-HA010021564.aspx
    http://blogs.msdn.com/b/chandru/archive/2012/04/01/list-of-all-securable-objects-that-have-unique-permission.aspx
    Thanks,
    Daniel Yang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Daniel Yang
    TechNet Community Support

  • How i can use ExportPDF in java code to get html files as PDF?

    I need to use ExportPDF in java code to export my html to PDF and save that in my local system.

    Yes, it's not a service for automating. Automating Acrobat is a possibility (though awkward), or there are server products.

  • Possible to access an .html file stored on media card?

    I have downloaded web pages I built from my computer to the media card in my Blackberry 8310. After opening MEDIA on the home screen, I can click the menu > explore > navigate to the .html file and it will display.  Javascript does not function, however, even if it is turned on and is functional with web sites through my browser.  I presume I am having this problem because I am not viewing the file using a browser with this method.  This lead me to the thought of accessing the file through my browser.  When I start my browser then use the menu key > Go to, I cannot find the proper format command to access a file on the media card.  I am attempting a similar request as using a browser on a puter then typing c:\directory\file.  I have used the file//C:\ format along with other formats to no avail.  I am not sure if the device has a name.  I have tried Device:\ but that doesn't work.  I tried \Media Card and that doesn't work either.  I moved the files into devce memory hoping I could access it.  I would appreciate any help with either method I have tried.  Thanks, Ted

    I doubt it is possible. Pages is fairly limited when it comes to html.
    I would try finding another application or send the files as pdf. PDF may not be a good idea in marketing material, as the receiver may not even open the file, but if you present it in a nice way, it may work.

  • HTML Files on a SQL Query

    Hi All,
    How can we save the results of a sql query in a html files. Am using HTMLDB.
    How to 1. Create HTML files from a sql query in the client drive
    2. Store the HTML File into a specified drive (mapped drive)
    Kindly help.
    Thanks in advance

    You cannot. Not with HTMLDB aka web app server architecture.
    The application tier of HTMLDB resides in Oracle. The user connects to the web tier (Apache).
    Basic architecture. Web user sends a request to web server. Web server processes the user's request, opens a connections to Oracle and runs the application (HTMLDB) in the Oracle Server.
    The application (HTMLDB), within the client-server context, services the web tier. The web tier is its client. The Oracle/HTMLDB server has no idea (and is not interested) in who/where/how/what the web server is in turn servicing. IT IS NOT ITS PROBLEM.
    To deliver that file to the user's drive (if that is the requirement), is the problem of the web server. Not the application tier (HTMLDB) that runs on the Oracle Server. Very likely, the Oracle Server will not even be able to communicate directly with the web user - due to proxies, firewalls, and so on.
    This is why HTMLDB allows you to design the output of a HTML report to be downloadable as a CSV file. This means that instead of returning a Mime Type of TEXT/HTML to the web server and have the web server passing that along to the web user, it returns TEXT/CSV. The browser is (usually) configured to either save that contents it receives from the web server as a file, or to launch a spreadsheet application (Excel/OpenOffice) to receive that data.
    As for submitting a file as a SQL query from a local drive... that is the web user's problem. And the web browser. It needs to have a mechanism in order to provide that file's contents to the web server for processing. The web server talks HTTP - thus that file must be submitted via HTTP. Mapping drives uses NetBIOS as a protocol.. which is something completely different.
    And again, this has nothing to do with the HTMLDB application layer inside Oracle (it will process whatever the web server passes to it).
    Having clients sharing their drives for write access (in order to allow a server to write to it).. that is truly a Horrible Idea (tm). It will open HUGE security holes in a network. It is contrary to the fundemental principles and concepts of designing web-based systems.

Maybe you are looking for

  • How can I create a link to an external site in my aperture web gallery?

    Very keen to add a link to my main home page so people can go from my web gallery at www.smartstreets.eu back to my home page at www.smartstreets.co.uk Anyone know a way to do this? Also wondered if I can change the font, size, format (eg bold etc) i

  • How can I tell what service is running on port 8008?

    I have installed Rumpus on a Mini running SLS 10.6.4 and I am trying to configure the web based file sharing module. It defaults to port 80 but that is blocked by my ISP, so I am trying to set it to 8008 instead. I have opened the port in my router,

  • Can get spam but can't send it?

    I occasionally receive spam email trying to imitate Paypal.  When you receive one of these, Paypal wants you to forward it to [email protected] so they can investigate and hopefully shut the operation down.  Great idea except, it seems that the Veriz

  • Displaying an swf below an html div layer

    I'm trying to get an swf to display underneath an html div, but the browser seems to always put the swf on the top-most layer. I read a while back when I tried this before that it wasn't possible as the browser would always load plug-in content top m

  • Installation SMP 3.0 - SAP MOBILE PLATFORM

    Hello experts, I need your support for the installation of SMP 3.0. What is the database that I can use for this installation. •ASE •DB2 •Oracle Please let me the download links of BD.