1. Layout Help

    Date: 05/05/05 (HTML Help)    Keywords: html

    I made this layout for a friend but I can't figure out how to code it. I was trying to use my LJ as a template but the images on her LJ didn't show up. Is there anyone who could help me code this layout? I'll make sure to give full credit. E-mail me at moonxchild@gmai.com so I could send you the HTML version of the layout. Thanks to anyone who could help me out. ^^

    Source: http://www.livejournal.com/community/htmlhelp/1951478.html

  2. Creating A Calendar In CSS?

    Date: 05/05/05 (WebDesign)    Keywords: css, html, web

    I need help with creating a calendar in css, can someone help me out.

    This is what I have to do:

    1. I have to create a new blank file and save it as caldendar.js

    2. Then within the file, I am supposed to insert a function named calendar() that has a single parameter named "caldate". The caldate parameter stores the date the user wants hightlighted in the calendar.

    3. Within the command block of the calendar() function, I am to create an array named "MonthName" that stores the names of the twelve months. Th first element in the array, MonthName[0] should have a value of "January" and completes the rest of the array similarly.

    4. Then I am to create an array, "DayName", that stores the three letter abbreviations of the seven weekday names, starting with DayName[0] ="Sun".

    5. After the DayName array, I am to create a date object variable named Calendar_Day. If the value of the caldate parameter is equal to "today", set Calendar_Day equal to the current date and time; otherwise, set Calendar_Day equal to the date specified by the caldate parameter. [B](Hint: use the command: Calendar_Day = new Date(caldate)).[/B]

    6. Use the getDate(), getMonth(), and getFullYear() methods to extract the day of the month, month number, and four-digit year from the Calendar_Day variable. Store these values in variables named ThisDay, ThisMonth, and ThisYear, respectively.

    7. Then I am to use the doucment.write() method to write the following tags to the Web page:
    Where [I]Month, Year[/I] is the name of the month and the four-digit year. [B](Hint: use MonthName[ThisMonth] to display the name of the month; use the ThisYear variable to display the year value.)[/B] Now this is what I have done? 8. I am to create a For loop that writes a table row containing seven table heading cells. The For loop should generate the following HTML code: I don't think I did any of this right, so can someone point in the right direction.
    Month, Year

    Source: http://www.livejournal.com/community/webdesign/868601.html

  3. Transparent table background problem in IE - works in Firefox

    Date: 05/09/05 (HTML Help)    Keywords: css, html, microsoft

    I'm trying to customize my journal a bit, and am having a bit of a strange problem with IE. It seems to randomly choose which tables it wants to display properly with my current style. Firefox always displays them correctly. My journal '[info]'elf_inside has a dark background with a screened table background using advanced S2 editing.

    I'm asking here because it doesn't seem to be an S2 problem, rather it is an HTML issue. I'm not sure why IE would apparently randomly treat tables differently on the same page!

    The css options I have set are:

    table, tr, td, .shadowed
    {
    background-color: transparent;
    background-image: url("http://host/image.gif");
    background-repeat: repeat;
    background-attachment: fixed;
    }


    I also tried
    filter:alpha(opacity=80);filter:progid:DXImageTransform.Microsoft.Alpha(opacity=80); -moz-opacity:0.8;
    but this had 2 bad side effects: The text and images went transparent too (not desired), as well as it slowed firefox down hugely.

    In firefox, the transparent gif seems to work perfectly as a table background. In IE, it works *sometimes*.. but not *all the time*... Anybody know how to get this to display correctly in IE?

    Source: http://www.livejournal.com/community/htmlhelp/1961276.html

  4. External HTML file in Flash?

    Date: 05/09/05 (WebDesign)    Keywords: php, html

    Hey everyone, here is my problem:

    My client wants an all-Flash portfolio site. At a certain section of the site, the page will "slide in" from the right side of the screen. Easy.

    Now, he wants an email form on this page. You know, enter data, click send, and it goes to his email address.

    How do I accomplish this? Can you do something like this in Flash? I don't know php, cgi, or any of that... so I have a big problem, yes?

    I was thinking of finding a site like Bravenet that will offer free email-forms or something. I assume this would be in an anti-flash environment though, so I am also wondering if you can load external HTML files in Flash somehow.

    I dunno, I'm confused. Help!

    Source: http://www.livejournal.com/community/webdesign/871775.html

  5. Hey

    Date: 05/10/05 (Javascript Community)    Keywords: php, html, web

    Hello, hello, great community, don't know why I never found it before, but alas.. here I be..

    I am a web developer and have my hands in just about everything these days.. working with someone to update a WordPress Blog.. they are wishing to add the following js script to their content..






    but notta.. can't get it to work.. any ideas on why I'm having so much troubles with this thing??

    I have mentioned this matter previously in this community..

    '[info]'php

    Here http://www.livejournal.com/community/php/290136.html

    Source: http://www.livejournal.com/community/javascript/65921.html

  6. Great Tool.

    Date: 05/10/05 (HTML Help)    Keywords: html, java

    Hey all.. especially moderators.. contributors.. whomever and whatever..

    I found this great tool from a community I just joined @ '[info]'javascript

    This tool

    http://infospleen.com/tools/htmlprep/htmlprep.html

    allows you to type in any type of code and have it dolled up for LJ.. give it a try.. it works great..


    Thought I'd share..

    Source: http://www.livejournal.com/community/htmlhelp/1962361.html

  7. Delete Row

    Date: 05/10/05 (Javascript Community)    Keywords: html, java

    How can I write the javascript for this: if row in html table contains xxxx then delete row?

    Source: http://www.livejournal.com/community/javascript/66126.html

  8. Link Help

    Date: 05/11/05 (WebDesign)    Keywords: html, web

    OK, you know how sometimes images that are links get the box around them? How do you make it go away?

    My husband is helping to build this webpage, and we can't figure out why the buttons at the top have the link box around them, but the photo in the center of the page is also a link and doesn't have the box. We want all the boxes to go away. The only way I know how to do that would be to change the alink, vlink, and link colors to the same as the background color, but that would make any text links disappear too (I'm such an html cheater *laugh*). On this site, there are text links that need to be there.

    Just ignore the fact that the page is littered with random links to things: my husband makes links to the pages he's working on while they're still in progress. This page I linked to above isn't the real front page of the site, it's just a test page too. Once he can figure out the buttons thing, maybe he will make it the front page, but for now we're stuck.

    I think it's relatively simple, but I can't figure it out. (Oh and if you have any other suggestions for this page while you're looking at the buttons, feel free to share). Thanks in advance.

    Source: http://www.livejournal.com/community/webdesign/874989.html

  9. Simple Javascript rollover effect... or is it?

    Date: 05/11/05 (WebDesign)    Keywords: html, java, web

    Alright, Javascripters of the Web Design community. I'm very, very new to Javascript. So new, that I can't get a simple rollover effect to work. Here's the issue:

    I'm using validated XHTML Strict, which means there are no names, only id's. Firefox doesn't seem to have an issue with this and keeps chugging along without a fix. Internet Explorer doesn't do the rollover, but it also doesn't report an error. Here's my code:

    if (document.images)
    {
    	document.news = new Image(85,30);
    	document.site = new Image(85,30);
    	document.news.src = "images/news1.gif";
    	document.site.src = "images/site1.gif";
    }
    
    function focusOn(imgName) {
    	if (imgName=='news')
    	  document.news.src="images/news2.gif";
    	else if (imgName=='site')
    	  document.site.src="images/site2.gif";
    }
    
    function focusOff(imgName) {
    	if (imgName=='news')
    	  document.news.src="images/news1.gif";
    	else if (imgName=='site')
    	  document.site.src="images/site1.gif";
    }
    


    Any help on this matter will be greatly appreciated, since I have to finish this stupid effect before I go on to more important jobs.

    Source: http://www.livejournal.com/community/webdesign/874143.html

  10. Open-source divorce for Apple's Safari?

    Date: 05/12/05 (Web Technology)    Keywords: html

    Two years into Safari, Apple Computer proposes dumping KHTML. Developers of the code base call relationship "bitter failure."

    Source: http://news.zdnet.com/Open-source+divorce+for+Apple%27s+Safari%3F/2100-9588_22-5703819.html?part=rss&tag=feed&subj=zdnn

  11. Directory Image Retrieval via HTTP

    Date: 05/13/05 (WebDesign)    Keywords: html, web

    I know there are applications to pull a site from the web without FTP (reads the HTML, and follows all image links and page links, and downloads them).  However, is there an app that allows one to download all the images in a directory?  For example, if I have a site such as : http://www.yourdomain.com/images , is there a script I can run to download all of the images in the directory?  Unfortunately, the server does not allow a directory listing so I can just view the listing and download them.

    Any thoughts?

    Source: http://www.livejournal.com/community/webdesign/876738.html

  12. lj-cut followup

    Date: 05/13/05 (WebDesign)    Keywords: css, html, java

    In reference to my post last night...

    I found a VERY easy way to do this, using a tutorial from blogger.com, which can be found here:

    http://help.blogger.com/bin/answer.py?answer=943

    All you need is an extremely basic javascript and two CSS classes: one to hide the text, and one to show the text.

    The javascript just uses a simple variable to determine if the current CSS class is the hidden or not hidden class, then switches it to the opposite. It allows you to click the show/hide link to show or hide the text without needing to refresh the page.

    This solution was a heck of a lot easier than a lot of the mostly-javascript solutions I found on message forums and whatnot.

    Just FYI for anyone who is interested. :) It worked extremely well for my FAQ page on my own site, part of which can be seen here as an example:

    http://s95427659.onlinehome.us/shifuimam/faqpage.shtml

    I'd post the real URL, but my server is down right now, so I can't upload it. :(

    Source: http://www.livejournal.com/community/webdesign/876110.html

  13. Taming list help

    Date: 05/14/05 (Web Development)    Keywords: css, html, web

    I am attempting to put together the navigation bar in my portfolio website and I've run into a technical hitch. I'm using a list styled with CSS to remove the bullet points, put in backgrounds etc. It all works fine when I take out the bullets, padding and margins, but as soon as I try to style the links it all falls apart.


    /* List formatting */

    #nav {
    list-style: none;
    padding: 0;
    margin: 0;
    }

    #nav2 {
    list-style: none;
    padding: 0;
    margin: 0;
    }

    #nav2 li {
    border: 1px solid #000000;
    }


    /* Link formatting */

    #nav a {
    display: block;
    background: #FF99FF;
    }

    #nav2 a {
    display: block;
    background: #CCCCFF;
    }


    A really simple version of the HTML is here. I've put in some dreadful background colours to illustrate the problem. The ideas is to style the links as blocks, enabling me to put in backgrounds, padding etc. It all works in Firefox, but in IE it seems to add extra padding between the links. Taking out the display: block in the a immediately takes out the extra padding. Oddly, adding a border around the li takes out the padding, too. If only I wanted a border!

    I know that it's worked for me before, but I can't work out why it isn't working this time. I've compared the code to other websites that I've designed and it should work. Can anyone tell me what I've done wrong before I start tearing my hair out? If it's an IE quirk, can anyone tell me why it's suddenly decided to bug me? Is there some declaration that I'm completely missing because I've been staring at it for so long?

    Source: http://www.livejournal.com/community/webdev/199547.html

  14. Knowledge Base Software

    Date: 05/14/05 (Computer Geeks)    Keywords: html, java, web, linux, hosting

    The company I work for is a Linux web hosting company. And we desperately need a decent knowledge base system. Primarily for internal use, but also so that we can provide direct links back to the KB for customers to read to help us streamline our help desk responses.

    Does anyone have any recommendations? I've been looking into Twiki, but that requires an enormous amount of setup time. And now I'm looking at FreeMind, but that isn't HTML, its a java applet.

    Source: http://www.livejournal.com/community/computergeeks/685328.html

  15. Is it okay to do this?

    Date: 05/14/05 (Javascript Community)    Keywords: php, browser, html, java

    I have been wondering... How do I pass on some data to a html file given that cookies are disabled on the client's computer, and the server does not support scripting - PHP, Perl, CGI, etc. ??? The problem has to be solved on the client's side.

    Let's say we have two files: p1.htm and p2.htm. The JavaScript in p1.htm wants to load p2.htm into the browser. But p1.htm needs to pass certain values to p2.htm. How do you do it?

    Here is what I found:

    p1.htm will load p2.htm and insert the data into the address field like this:

    location.href = 'p2.htm#mydata123';

    The JavaScript function in p2.htm will read the "location.href" variable and remove everything that precedes the '#' sign. What's left is "mydata123"!!!

    This way, I can pass parameters from one file to the next.

    My question is, IS THIS 'LEGAL'?

    What the script is doing here is basically tell the browser to load p2.htm and go to LABEL mydata123. Of course, there is no such label in p2.htm, so the browser will just go to the beginning of the page.

    Source: http://www.livejournal.com/community/javascript/67112.html

  16. [php]

    Date: 05/14/05 (Code WTF)    Keywords: html

    Нашел в одном из фреймворков на ПХП :
    $hui = new Hui( $gEnv['root']['db'], TRUE );
    HUI - это у автора Html User Interface :-)

    Source: http://www.livejournal.com/community/code_wtf/4295.html

  17. mod_rewrite and php problems

    Date: 05/16/05 (Web Development)    Keywords: php, css, html

    I have a simple php file that inserts 1 row into a db. It's in a
    directory with a mod_rewrite in a .htaccess file. The mod_rewrite
    appears to be causing the php script to be run twice for every page
    request because it inserts two rows into the db for each page request.
    If I remove the .htaccess then it works fine. Can someone tell me why
    this is happening and how I can fix it? Here is my php file

    test.php
    ---------------------------
    $db = mysql_connect('localhost', 'xxxxx', 'xxxxx');
    mysql_select_db('xxxxxx');
    echo 'create cache' . "
    \n";
    $query1 = "insert into searches (keywordId, relatedId)
    values('1','764419')";
    mysql_query($query1);
    ?>
    ---------------------------

    here is my .htaccess
    ---------------------------
    Options FollowSymLinks
    RewriteEngine On

    RewriteCond %{REQUEST_FILENAME} .*sitemap(.*).html.*
    RewriteRule ^(.*)$ sitemap.php [L]

    RewriteCond %{REQUEST_FILENAME} !.*main.css.*
    RewriteCond %{REQUEST_FILENAME} !.*sm.css.*
    RewriteCond %{REQUEST_FILENAME} !.*banner.gif.*
    RewriteCond %{REQUEST_FILENAME} !.*disclaimer.html.*
    RewriteCond %{REQUEST_FILENAME} !.*sitemap.php.*
    RewriteCond %{REQUEST_FILENAME} !.*index.php.*
    RewriteCond %{REQUEST_FILENAME} !.*test.php.*
    RewriteCond %{REQUEST_FILENAME} !.*404.html.*
    RewriteRule ^(.*)$ index.php

    Source: http://www.livejournal.com/community/webdev/200040.html

  18. Seeking Redesign Advice

    Date: 05/17/05 (WebDesign)    Keywords: css, html, asp, web

    I’m planning a site redesign in order to take advantage of CSS and XHTML. My existing site uses frames, is heavy on graphics - and the architecture combines several different enterprises along with some more personal pages. At this point I’m looking for some general ideas about approaching the redesign:

    ie: whether to split off the personal aspect of the site, to split off the various enterprises (illustration portfolio, web design portfolio, fine craftwork sales site and an online coloring book) and if so, along what lines. If I split things off would I still want a portal page to tie things together?

    I’m also looking for feedback about how to showcase both CSS skills and Flash skills; I want to take advantage of both, and am wondering what people think are the best roles for each of these tools. Where is CSS best used? What are the best uses for Flash? Is it feasible to use Flash in the context of a CSS design?

    At the same time, I really hate to get rid of Frames. They are easy and useful for creating a thumbnail menu to display larger image files. Does anyone have suggestions for equally easy and useful alternatives for displaying portfolio images?

    Source: http://www.livejournal.com/community/webdesign/881408.html

  19. javascript click tracker

    Date: 05/18/05 (Web Development)    Keywords: php, mysql, browser, html, sql, java, tracker

    I'm trying to create a javascript click tracker, but I'm having a problem. The setup is very simple so I'll just give the code.

    index.html
    ---------------





    A Link



    tracker.php simply inserts the url of the link into mysql.

    The problem is very strange. Everything works fine if the files served from my local machine. If I upload it to the server things get weird. It doesn't work with firefox from my office (3 different machines and 3 different versions), but it works with firefox from every other place (home, friends, etc). It works fine with IE and Konqueror. Note: I did change localhost in the js function to the proper value for the server. It works if I go directly to the URL that's in the javascript so it seems that that line isn't exucted by my local firefox browsers. Does anyone have an ideas on this? Is there a free click tracker script that any of you know of? (free as in I can see the code)

    Source: http://www.livejournal.com/community/webdev/200619.html

  20. Not strictly LJ related HTML problem

    Date: 05/18/05 (HTML Help)    Keywords: html

    If an html form (which consists only of a "submit" button) uses the "post" method to transmit, is there any way to go directly to submitting through a URL? The form code is here:





    What I'm trying to do is create an Automator script (for OS X Tiger) that will automatically submit the form every four hours, and the easiest way I can think of is by giving it a specific URL to go to. If anyone knows a better way, please feel free to tell me.

    Source: http://www.livejournal.com/community/htmlhelp/1979607.html

Previous page  ||  Next page


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home