Jump to content

boen_robot

Members
  • Posts

    8,493
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by boen_robot

  1. You mean to say that the result file displays the same as the source file?
  2. Browser DiscussionOnly here please.
  3. And wrong link too :)btw, it's it about time that someone locks this topic?
  4. Oh, sorry. Mi mistake. I quickly copied the previous codes and fixed the XPath expressions, without noticing the other errors in both methods:In the method with variables: And in the attribute method:
  5. I don't know about the clear property, but as for the row layout... It's quite too easy most of the times, so most (all?) developers don't waste time on making something which every advanced developer could do. Not that I'm that advanced either, but it's just not that hard in comparrison to colums.In order to make a row, you would simply addwidth: 100%; height: 25%;to the four divs which would carry the actual rows.Here comes the reason for the height property's existense. Much like "width", the "height" property is for adjusting the size of the element, so you can position it more... clearly... with the rest of the layout.Example: the above width and height would size each div on theese sizes. A little caclulation and we see that 4rows*25%=100%. The four rows will fill up the whole screen no matter the resolution. Or at least they are suppose to.
  6. This has been in CSSplay for ages. How could you have noticed it now ?By the way, all "holy grail" templates that exist today (cause this isn't the only avaiable one) have some kind of drawbacks. This one has two:1. Doesn't look absolutely perfect when looked without CSS (or in other words: structually), but that's easy to fix.2. When the screen gets too small (on IE at least) the different columns overlap each other.Infact, most other templates have theese problems too.
  7. It doesn't matter actually. What matters is the amount of data that all of them get from the site. In the example above, it's easier to imagine the things if they browse one by one, but if they were browsing at the same time, this would still cost the same bandwidth, because it's about amount, not time.Example for even easier understanding: imagine you have a big bottle of water (for example). You can put several straws in it, so several people can drink from it, but even if they drink one by one or simultaneously, none of them would be able to drink after the water is out.But what if they were all drinking from the sink? There are no predefined amounts as with the bottle and they can all drink as much as they want to.
  8. Why is it so hard for newbies to just TRY to look at the XPath expressions and adjust them properly. Oh... anyway...Replace <td><xsl:value-of select = "name"/></td> With <td><xsl:variable name="LINKS" value="links"><a href="{$LINKS}" target="blank"><xsl:value-of select="name" /></a></td> Or <td><a target="_blank"><xsl:attribute name="href"><xsl:value-of select="links" /></xsl:attribute></a></td> By the way, the name of the variable (LINKS) could also be anything you like. The reason why in example it's the same as value, but with capital letters is that it demonstrates the fact that a variable is accesed by it's name.
  9. If you look at the host's offers in detail, you'll see the other name for bandwidth is "traffic". So, in other words: bandwidth is the amount of data which the host lets you download.For example, if you have html files and maybe some small graphics with total size of 1MB and you know you have 20 users who browse all of them each day, this means... 20users*1MB*30days=600MB of montly bandwidth. If the host says you have 15MB of bandwidth for a day, this practically makes your pages useless for the last 5 people. I mean, look at the difference for yourself. If you waste your bandwidth, your site becomes inaccesable (turned off if you'd like) until the period (in our case: the day, but it's most often the month) expries.When the bandwidth is unlimited, this means you don't have to calculate how much data would be downloaded. The host will let all users browse the page all the time, scince it doesn't have such restriction.
  10. Another simmilar site, provided kindly by Chocolate570:http://findmyhosting.com/I guess we would also write hosting portals/resellers/comparers/whatever here as well .
  11. I was thinking about it, but technically speaking, it's not a critical feature you should base your host choise on. Not to mention that not every free host has any emails. Also, if you add numbers, there will also arise the question for the space of the mail and other mail features. It's going into a different area.But add your own details if you have some of course. More is better when it comes to hosts . It's just that I wanted the topic to cover only things that one should really consider when making a deision for the host, limit him/herself to fewer hosts that suit the needs and look in detail their offers.By the way, the hosts you read in my first posts were from the General and Suggestion forums. Now I'll also write down some I found in the PHP forum:Name: siteburg.comPrice: FreeServer side scripting(s)/database(s): PHP, CGI, Perl/MySQLSpace: 100MBBandwidth: 10GBAds: YesWeb adress: subdomainAdditional Comments: It's not that much, but it's also not bad for a free offer. Name: AvagaPrice: $3.99/2 Years; $7.19/2 Years; $19.99/2 Years;Server side scripting(s)/database(s): No; PHP, CGI/No; MySQLSpace: 200MB; 500MB; 1,000MB;Bandwidth: 25GB; 50GB; 100GB;Ads: NoWeb adress: domainAdditional Comments: The paid version of siteburg.com. Not very clear. Of what I see, it seems the free offer has advantages. Haha.Name: RoxrPrice: FreeServer side scripting(s)/database(s): PHP/5 MySQL databasesSpace: 150MBBandwidth: 15,360MBAds: YesWeb adress: subdomainAdditional Comments: Interesting offer, but very plain. I was hoping for more details.Name: cjb.ccPrice: Free; $3/MonthServer side scripting(s)/database(s): PHP/NoSpace: 50MB; 250MB;Bandwidth: 1GB; 5GBAds: Yes; NoWeb adress: subdomainAdditional Comments: Again, very plain. In fact- waay too plain.
  12. Due to the large amount of topics about different hosting plans, I decided to write them all down here for you to look as a reference. I hope that the moderators will lock future topics about hosts and redirect them to this topic.Note: Please also check the posts below this one. They (may) also contain other hosts that might better serve your needs.If you would like to add a host that is not listed here, please follow this template: Or for a domain registar: Comparrisons and comments are allowed, as long as you have more to say then "Host X sucks. Host Y rules!" for example.Please note that the order of the sites in my post is the one in which I have fond them. PM me (or the moderators?) if you find any errors in the host's descriptions below.And here goes...Hosts:Name: DeluXe HostPrice: FreeServer side scripting(s)/database(s): PHP/MySQLSpace: 100MBBandwidth: 300GBAds: NoWeb adress: web directoryAdditional Comments: There are many restrictions about what site (content) is allowed. The most important one is that only european languages are allowed. Read the FAQ for details. Name: iNeedHosting.netPrice: $3.99/Month; $6.99/Month; $11.99/Month; $20.99/Month;Server side scripting(s)/database(s): PHP, CGI, Perl/5 MySQL databasesSpace: 500MB; 1000MB; 2000MB; 2000MB;Bandwidth: 10GB; 20GB; 40GB; 50GB;Ads: NoWeb adress: domain with up to 25/50/100 subdomainsAdditional Comments: There is also an option for a custom plan with a custom price.Name: iNeedHosting.co.ukPrice: £6.49/Month; £14.95/Month; £98.95/Month;Server side scripting(s)/database(s): PHP, CGI, Perl/MySQLSpace: 200MB; 500MB; 1000MB;Bandwidth: UnlimitedAds: NoWeb adress: domainAdditional Comments: It might seem as the above, but it's actually quite different. It looks kind'a unprofessional in my opinion, but still, detailed enough offers.Name: SiteFlip.comPrice: $11.88/Year; $59.40/Year; $155.40/Year;Server side scripting(s)/database(s): PHP, Perl/Unlimited MySQL databasesSpace: 100MB; 500MB; 2,000MB;Bandwidth: 3GB; 8GB; 15GB;Ads: NoWeb adress: domain with no/5/10 subdomainsAdditional Comments: There is a VERY detailed explanation of the host's features on the site. I personally think that's very attractive.Name: Mind FusionPrice: Free; $4.99/Month; $9.95/Month; Server side scripting(s)/database(s): PHP, CGI, Perl/5; 15; 50 MySQL databasesSpace: (1)50MB (the picture is not synced with the text!); 250MB; 500MB;Bandwidth: 1GB; 2GB; 3GB;Ads: NoWeb adress: subdomain(s)... I'm not sure here actuallyAdditional Comments: Even in this short description you noticed there are things which are not very clear. I would stay away from this site's payed offers if I were you.Name: Crystal TechPrice: Too many different offers to describe. They vary from $2.95 to $399.95Server side scripting(s)/database(s): PHP, CGI, Perl, ASP(.NET), Cold Fusion/MySQL, MSSQL, ODBCSpace: varies from 200MB to whole hard drivesBandwidth: from 5GB to 1000GBAds: NoWeb adress: domainAdditional Comments: It has many options, among which are not so frequently found things such as Cold Fusion and ODBC support. All offers are well detailed. For that at least, it definetly worts the attention.Name: GeoCitiesPrice: Free; $4.95/Month; $8.95/Month;Server side scripting(s)/database(s): No; PHP, Perl/MySQLSpace: 15MB; 500MB; 2GB;Bandwidth: 3GB; 25GB; 100GB;Ads: Yes; NoWeb adress: web directory; domain; domain with up to 5 subdomains;Additional Comments: The free hosting plan sucks. As you can see for yourself, the other free hosts have better plans and with no ads even.Name: RipwayPrice: FreeServer side scripting(s)/database(s): PHP/NoSpace: from 30MB to 400MB (WTF?)Bandwidth: 15MB/dayAds: NoWeb adress: web directory... I thinkAdditional Comments: Sounds good if you can overcome the low bandwidth.Name: Ripside InteractivePrice: $8.50/Month ($4.25 first month); $14.50/Month ($7.25 first month); $24.00/Month ($12.00 first month); $43.00/Month ($21.50 first month); $56.00/Month ($28.00 first month);Server side scripting(s)/database(s): PHP, CGI/3 (with the first two); unlimited (the other offers) MySQL databasesSpace: 250MB; 500MB; 1000MB; 2000MB; 4000MB;Bandwidth: 10MB; 25MB; 50MB; 100MB; 250MB;Ads: NoWeb adress: domainAdditional Comments: That's the host for which Ripway refers for "if you want more" or something. Perhaps they are owned by the same people.Name: BrinksterPrice: Free; $4.95/3 Months; $7.95/3 Months; $17.95/3 Months;;Server side scripting(s)/database(s): ASP(.NET); PHP, ASP(.NET)/MySQL, MS AccesSpace:15MB; 1500MB; 3000MB; 5000MB;Bandwidth: 500MB; 35GB; 75GB; 175GB;Ads: NoWeb adress: Subdomain (I think); domainAdditional Comments: The prices actually vary if you select to pay for a different period. There is both Linux and Windows hosting similarrly to Crystal Tech.Name: FreewebsPrice: FreeServer side scripting(s)/database(s): NoSpace: 40MBBandwidth: 500MBAds: NoWeb adress: web directoryAdditional Comments: Probably the most famous host theese days, but I personally don't like it. Kind'a weird that they say to support SSIs but don't have server side scripting support.Domain name registars (without hosting):Name: dot.tkPrice: Free;Web adress: web redirecterAds: YesAdditional Comments: I don't quite like it, but if you're looking for the shortest free web redirecter possible, that's the way to go.Name: freedns.afraid.orgPrice: FreeAds: NoWeb adress: (Sub)domain or web redirecterAdditional Comments: It has it's features very detailed, though I don't see much to be described in DNS services.Name: freedomain.co.nrPrice: FreeAds: NoWeb adress: web redirecterAdditional Comments: That's the second time I ever see a free DNS after the tk thing. Kind'a weird. I don't know anything else about it.
  13. boen_robot

    Increment

    XSLT does have the generate-id() function thoguh. However, it's actually used like a kind of a temporary variable, rather then a identifier. So if you want to generate something to be displayed, it's truly better so generate it with ASP.There's also one other way though. By using the position() function. However, the "id" will not be preserved if the position is changed.
  14. Go into each page and select File>Save As (for IE)?Anyway, you shouldn't do that for the sake of W3Schools.
  15. You are practically looking for the holy grail. The only thing missing is the requrement of a third column .In order to get the left column to the left, you obviously need float:left, but for the height.. That's much bigger issue.See this layout and try to adjust it, so it has only 2 columns.
  16. What version of dreamwaver are you using? I use 8 and it's not doing that. When I write "t" it suggests table and other tags that start with "t" so I can either continue typing for a more detailed suggestion or select from the list (in short: auto complete). And that's it. The ">" is automatically written, but it's left to me to decide the things inside. There are no <tr>s and <td>s created. When I type "</" it automatically writes the closing </table> tag, unless I have written some other tag after, that needs closing.If you're using MX2004, well... yeah, it sucks.
  17. boen_robot

    XQuery

    Actually, because XQuery is not yet a recommendation, it's not avaiable for any official language yet. It's avaiable as a language for some databases as an expansion to SQL, but that's it.XQuery will be avaiable in XSLT 2.0 so that's when it's true power will be uncovered. Until then, in order to manipulate XML documents,you would need to use XPath inside XSLT or some server side scripting language.
  18. Actually, if you're going to use ASP, it's MUCH better to store different types of data in both SQL and XML depending on their purpose. SQL for catalogue purposes, and XML for all other data (most often- interface data such as the titles for the different links). Using XSLT you can transform the data more... clearly and use ASP only to execute the transformation and manipulate the database.
  19. Much better. This blue rocks . Though I think you could have let the red too, just incase someone else prefers it .
  20. I don't think there's any way to tell if you're showing only the root of the Schema .
  21. Did anyone read my post? Oh, for the love of god:
  22. Actually, I think this is possible with aural CSS2 too .
  23. I personally like blue best, but this particular: No. Why don't you make the other colors gradients too? I think that would be more fair .
  24. What I meant to say is that PHP doesn't have built in XSLT processor. It is avaiable with an extension. See the XSL functions of PHP for details. If anyone knows how to install the extension, please, do tell.
  25. Maybe using some predicates will do the trick? <xsl:template match="/"><xsl:variable name="name">Jane</xsl:variable><xsl:choose><xsl:when test="name=$name"><xsl:for each="Workers/Worker[name=$name]">Yes<br /></xsl:for-each></xsl:when><xsl:otherwise>No</xsl:otherwise></xsl:choose></xsl:template> If I am correct, the conditional will look into every name attribute in the document and compare it with the variable. If there are any matches, it will loop through all workers with the specified name and will output Yes for each one. If there's not any avaiable, there will be only one No.P.S. I haven't tested this.P.S.S. You'll need some DOM that would create the variable with the desired value from a form, if you want to make this application practical. I can't do that script though.
×
×
  • Create New...