Jump to content

Skemcin

Members
  • Posts

    2,684
  • Joined

  • Last visited

Everything posted by Skemcin

  1. Do your homework - we've already done ours! (check your PM please)
  2. This has been discussed in great detail:HERECan you read through that and have any further conversation there. It will help consolidate topics.Thanks.
  3. Skemcin

    HTML href

    What I understand you to say is that you basically want to sniff out an external (out of domain) link before you go there to see if its valid. If it is, then let the link behave accordingly, if not, you want it to redirect back to a page in your domain (your site). And, you'd like all this assigned to another attribute (i.e. alturl="http://www.w3wschools.com").First, that request would have to go through the W3C. Irregardless, the nature of XHTML will not be able to do that without the help of some other language.However, technically speaking, you can do this with Cold Fusion - and I imagine with any other scripting language (asp, php, jsp). I've done something similar to this. I've coded some javascript that grabs any link on a page when it's clicked. The script checks the url (against a list of domains) and determines whether to launch the link in a new window or capture the link but send the visitor to a "you're leaving this site, we don't control the content" disclaimer before being redirected to the intended site. No, if you take that application one step further, when I check the url against my list of links, I could fetch the URL and if I get anything but a "20 OK" message from the server, I could send the user wherever I want - to some page on your site in according to your description.Having said all that, do you have access to or knowledge of any of the before mentioned scripting languages?
  4. assuming your content (whats inbetween the tags) is germam, what are your XML tags coded in - english or german?
  5. Nice work Chocolate and Friend.:)You know me, I'll start with the feedback since you asked . . . The buttons match the layout fine, but the font is just hard to read The logo is pretty cool - just takes up a little too much real estate for me Red and Blue font colors on a black background are hard to read I think the overall look is fine, but there are several different font colors that make the reading quite distracting As for the last point, there is a general design rule of thumb - there shouldn't be more than three different contrasting font colors or more than three different font types.I think if you tried the main body font to be the background of the left nav buttons, the two might compliment each other.I'm not sure why you are using <center>, <font color="red">, <font color="brown"> and <font size="-1" color="white"> when all that can be better controlled via CSS.Now, as far as the question you pose, it seems to be combination of 0px margin and paddings that are mixed between the right pane and body CSS definitions. Thats why you <ul> is fully aligned left as well.My temptation would be to wrap your content in another <div> and class it "content" then put something like margin:0px; padding: 10px; and play with that.Is the right side and bottom supposed to have that light brown border like the top and left sides of the right pane? I don't see it in a 1024x786 screen resolution.Hope this helps some.:(P.S. Here is the link to his site for those who missed the other post.
  6. a BIGahmen to that. "I'm wise" . . . (if you only knew)
  7. Skemcin

    RSS feeds

    much easier useing cold fusion: <!--- get feed from site ---><cfhttp url="http://www12.porsche.com/usa/rss/default.ashx" method="GET" timeout="15"><cfhttpparam type="Header" name="Accept-Encoding" value="deflate;q=0"><cfhttpparam type="Header" name="TE" value="deflate;q=0"></cfhttp><!--- parse xml information ---><cfset objRSS = xmlParse(cfhttp.filecontent)><!--- find length of arrary to look through ---><cfset ArrayLength = arraylen(objRSS.rss.channel.item)><cfset ItemsDisplayed = 0><!--- loop through array to output feed ---><cfloop index="x" from="1" to="#ArrayLength#"><cfoutput><cfset ItemsDisplayed = ItemsDisplayed + 1><a href="#replace(objRSS.rss.channel.item[x].link.xmltext,'&','&','all')#" title="#urlencodedformat(objRSS.rss.channel.item[x].title.xmltext)#" target="_blank"><strong>#objRSS.rss.channel.item[x].title.xmltext#</strong></a><a href="#replace(objRSS.rss.channel.item[x].link.xmltext,'&','&','all')#" title="#urlencodedformat(objRSS.rss.channel.item[x].title.xmltext)#" target="_blank"><img src="#webroot#_images/btn_newwindow.gif" alt="[open article in new window]" width="19" height="15" hspace="5" vspace="0" border="0" /></a><br /><em class="smallfont">(#dateformat(objRSS.rss.channel.item[x].pubdate.xmltext,"mmmm dd, yyyy")#)</em><br /><br /></cfoutput></cfloop><!--- loop through array to output source ---><hr /><blockquote style="text-align:center;"><cfset SourceLength = arraylen(objRSS.rss.channel)><cfloop index="x" from="1" to="#SourceLength#"><cfoutput>© #dateformat(now(),"yyyy")# Porsche Cars North America<br /><a href="#replace(objRSS.rss.channel[x].link.xmltext,'&','&','all')#" title="[goto feed source in new window]" target="_blank">RSS Feed Source</a><br /><em class="smallfont">Page Generated: (#dateformat(now(),"mmmm dd, yyyy")# at #timeformat(now(),"hh:mm:ss tt")#)</em><br /><br /></cfoutput></cfloop></blockquote> (assuming v2.0 feed)
  8. I fear that MS is too busy trying to make standards then follow them.
  9. Skemcin

    XML Templete

    http://www.w3schools.com/dtd/default.asp
  10. Skemcin

    GET & POST

    Can you restsate your question, I am not quite sure what you mean?Sorry.
  11. Try this out for starters:http://www.chami.com/html-kit/services/favicon/
  12. Skemcin

    Fake frames

    Nice idea. loads good in FF, IE, and NN. Sorry, I haven't downloaded the lastest version of Opera here at home.The only thing I don't like is how the left nave gets a scroll bar too, when it gets too big: Click Internet Programming 2 Click Output When I use my mouse wheel to scroll - both divs go at it. I'm not a big fan of frames (real or fake) because they are realestate hogs. If the header's height was trimmed 25px or so and maxed the site from 860 to 1000 then I think the frame look can work. I'm assuming that with a width of 860, you're not designing for 800x600 screens, so why not use more space so people scroll less?Very nice CSS though.
  13. Skemcin

    PHP and MsAccess

    Yes. Set up an ODBC for your database and use the appropriate code to connect to it. Keep in mind, Access was not designed for the web so eventually you will have some limitiations.
  14. Skemcin

    Header formatting

    I find the extra space annoying as well. Its rather simply to work around:Here is an example I've recently used: <style>/* header styles */h6{ font-size:8px; color:#3399CC; margin:0px 0px -15px 0px;}h5{ font-size:10px; color:#3399CC; margin:0px 0px -15px 0px;}h4{ font-size:12px; color:#3399CC; margin:0px 0px -15px 0px;}h3{ font-size:14px; color:#3399CC; margin:0px 0px -15px 0px;}h2{ font-size:16px; color:#3399CC; margin:0px 0px -15px 0px;}h1{ font-size:18px; font-weight:bolder; color:#3399CC; margin:0px 0px -15px 0px;}</style>
  15. Quizes and homework assignments are not appropriate posts for this forum. Although I can safely assume that every member would love to help anyone else solve a particular problem(s) I would expect them (as seen in this thread) to encourage each other to do the initial leg work by researching the topic/question at hand.Thanks smiles and kcarson for encouraging the Mr_Person to research the information he seeks.
  16. Skemcin

    Scroller bars

    oh why did you use the word "yet"? please santa, don't let microsoft win another victory. each time they do they contribute to the bastardization of standards.
  17. I've tried similar nested div menus and ran into issues with IE. I was never able to resolve them so I've found and used other code:CSS <style type="text/css">/* *********************************** *//* site default stylesheet definitions *//* *********************************** */P.chapters { margin: 7px 7px 7px 7px; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10px; background-color: white; color: black; background-image: url(../_images/backgroundpattern.gif); text-align:left;}TABLE.chapters,TD.chapters,TH.chapters { margin: 0px 0px 0px 0px; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10px; background-color: white; color: black;}/* ******************************** *//* menu item stylesheet definitions *//* ******************************** */td.button { color: #333399; background-color: #EEEEEE; border: 1px solid #333399; margin: 0px 0px 0px 0px; padding: 5px; font-weight: bold;}p.button { font-size: 10px; color: #333399; background-color: #EEEEEE; border: 0px solid #333399; margin: 0px 0px 0px 0px; padding: 5px; font-weight: bold; display: block;}div.exp { width:100%; margin: 0px 0px 0px 0px; padding: 0px 0px 0px 0px; font-weight: normal; background-color: #FFFFFF; border: 1px solid #333399;}a.menuitem:link { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; text-decoration: none; color: #333399; display: block;}a.menuitem:visited { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; text-decoration: none; color: #333399; display: block;}a.menuitem:hover { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; text-decoration: none; color: #FFFFFF; background-color:#333399; display: block;}a.menuitem:active { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; text-decoration: none; color: #333399; display: block;}a.submenuitem:link { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; text-decoration: none; color: #333399; display: block; position:relative; top:-10px;}</style><script language="JavaScript" type="text/javascript"><!-- // ******************************************** //// define the parent navigation image drop down //// ******************************************** //function expand(s, m){ var myWidth = 0, myHeight = 0; if( typeof( window.innerWidth ) == 'number' ) { //Non-IE myWidth = window.innerWidth; myHeight = window.innerHeight; } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) { //IE 6+ in 'standards compliant mode' myWidth = document.documentElement.clientWidth; myHeight = document.documentElement.clientHeight; } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) { //IE 4 compatible myWidth = document.body.clientWidth; myHeight = document.body.clientHeight; } var browser = window.navigator.appName; var dif = 0; var sideMargin = 0; var topMargin = 180; if (browser == "Microsoft Internet Explorer") { sideMargin = ((myWidth - 570) / 2) + 65; } else { sideMargin = ((myWidth - 570) / 2) + 57; } if (browser == "Microsoft Internet Explorer") { topMargin = topMargin + 35; } else { topMargin = topMargin + 25; } var d = document.getElementById(m); var td = document.getElementById(s); var left = td.offsetLeft + sideMargin; var top = td.offsetTop + topMargin; var width = td.offsetWidth - dif; td.style.color = "#FFFFFF"; td.style.backgroundColor = "#333399"; d.style.top = top + "px"; d.style.left = left + "px"; d.style.width = width + "px"; d.style.position = "absolute"; d.style.visibility = "visible"; d.style.display = "inline";}function collapse(s, m){ var d = document.getElementById(m); var td = document.getElementById(s); td.style.color = "#333399"; td.style.backgroundColor = "#EEEEEE"; d.style.position = "static"; d.style.visibility = "hidden"; d.style.display = "none";}function collapseAll(){ var menuDiv = document.getElementById("menu"); var divs = menuDiv.getElementsByTagName("div"); var div; for (i = 0; i < divs.length; i++) { div = divs[i]; div.style.visibility = "hidden"; div.style.display = "none"; }} --></script> and HTML: <table border="0" width="160" align="center" class="chapters"><tr><td width="160" class="button" id="item1" onmouseover="expand(this.id, 'menu1');" onmouseout="collapse(this.id, 'menu1');" valign="middle"> General Chapter Info<br /><div id="menu1" class="exp" onmouseout="collapse('item1', this.id);" style="display:none;"> <p class="button"><a href="xxxxxx.xxx" class="menuitem">Chapter Contact List</a></p><p class="button"><a href="xxxxxx.xxx" class="menuitem">Chapter Web Sites</a></p><p class="button"><a href="xxxxxx.xxx" class="menuitem">Officer Rosters</a></p><p class="button"><a href="xxxxxx.xxx" class="menuitem">Meeting Calendar</a></p><p class="button"><a href="xxxxxx.xxx" class="menuitem">Chapter Profiles</a></p><p class="button"><a href="xxxxxx.xxx" class="menuitem">Profile Summary</a></p><p class="button"><a href="xxxxxx.xxx" class="menuitem">Fact Sheets</a></p><p class="button"><a href="xxxxxx.xxx" class="menuitem">Chapter/District List </a></p><p class="button"><a href="exxxxxx.xxx" class="menuitem">ED Profiles</a></p><p class="button"><a href="xxxxxx.xxx" class="menuitem">Chapters by Size</a></p></div></td></tr></table> not ideal, but it worked and meets the requirement that a user can edit this is in a WYSIWYG(links removed to protect the innocent)
  18. Skemcin

    Help with borders...

    Have you gone through the HTML and CSS tutorials that w3schools.com offers?You question is too general to answer. The forums are used to provide support and help. Once you have gone through the tutorials and have shown that you have made some effort (i.e. by presenting come coding examples) then we will be able to help. Otherwise, you're question is more or less really asking one of us to code your site.
  19. I wonder if has anything to do with the DOCTYPE you might be using and how Opera interprets that particular one. But, if I remember correctly, "alt" is for images and "title" is for links - they are not interchangable. I know it "appears" that they produce the same results, but they technically don't.
  20. Skemcin

    letter-spacing & borders

    the letter-spacing you have defined will apply to every letter - so the extra space is from .5 space being added to the area it takes up.The only way around that would be to class the last letter of each link to not have the letter-spaceing.
  21. this is pretty vague - but you're first page would simply link to your second page. the second page would have your code to play the ideo/animation - depending on what that is will depend on how you handle the second redirect. If your animation is in flash, then you woudl code your link in the SWF file. If it is anything else, then you've got other issues to deal with.If you can be a little more specific, a little more help might be possible.
  22. I moved this thread from here:http://w3schools.invisionzone.com/index.php?showtopic=1129since it was hijacking Chaosdruid original thread.Ok, as mentioned in the above post, you can see that mani_ (in the fourth post) offers a way to create your menu in javascript, then call the javascript from each page. There are other methods call Server Side Includes (SSI) that you should look into as well:i.e. http://www.w3schools.com/php/php_includes.aspYou're second question is answered with the second point I make in response to your first question, look up Server Side Includes:http://www.w3schools.com/php/php_includes.aspThis should get you on the right track.
  23. "in them other pages?" - lolyes - you can remove those tags - especialy if them there files you are includin' are never going to be and not intended to be stand alone pages.All an "include" does is copy-n-paste one file into the other just before the server processes it - so think of it that way - both from a desiging and programming point of view. Oh, and yes, I know, your carts are still faster than ours.
  24. Please keep in mind, those are developer packages that I linked to. They are the PERFECT place to put a site (i.e. yours) while its in development. I've only used a free hosting service once, and that lasted a month before I moved on to paid services. CrystalTech offers very good commercial rates as well. But for most people here, the Developer Packages are the best thing someone can afford to do. And if its not for development and you want your own personal site, then you can get their Personal/Business Plan for the same low rate.Now, your site is run by IP address unless you step up to the $8.95 a month plan where you can add a domain name.All in all, if you scrounge up $130, you can buy a domain name and launch your own personal site (i.e. iribbit.net) and not have to worry about money for over a year.:)Sorry for the digression - CT is just that good of a host.alzable if you have anymore questions about this the dedicated server setup, let me know.
×
×
  • Create New...