• Advertisement
Sign in to follow this  

Unity [web] Web Beginner Questions and Resources

This topic is 4943 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I am setting out to create a webpage. I have designed two websites previously, one with a WYSIWYG editor, and one written with notepad using basically just HTML 1.0. Now I am ready for something bigger and better using some scripting, XML, CSS, and of course XHTML. I am looking for a forum or community like gamedev.net but for website designers and a place where I could get help for my questions. I have some basic stuff done, but I want to know whats possible and whats not possible with javascript. I know exactly what I want my page to do. Thanks everyone for the links and answers![wink] Learning w3schools webstandards.org Forums Coding Forums Code Project aprelium.com Forums Good Sources w3.org alistapart.com PHP ASP 4guysfromrolla.com experts-exchange.com javascript javascript Kit javascript Source DOM Gecko DOM Reference Searching google.com www.com [Edited by - Boder on July 11, 2004 4:26:33 PM]

Share this post


Link to post
Share on other sites
Advertisement
www.codeproject.com has active forums in web development.
www.4guysfromrolla.com does too.
www.Asp.net, www.experts-exchange.com...

I should compile a list, there's so many I've found in my travels.

Share this post


Link to post
Share on other sites
Quote:

This forum doesn't seem suited to the beginner


Says who? This forum was just recently made, just ask away; help make this forum lively.

Share this post


Link to post
Share on other sites
Okay here we go!

I've been working on a little site and the framework is all set up. I realized I was starting to go overboard with dynamic content and that I need to focus on real content now. The page is color-coded for each section and the user can change the background color. Here is a diagram of what it looks like.


+------------------------------------------------------+
| +--------+ +-----------+------------+-----------+ |
| | SIDE | | Home | Section 1 | Section 2 | |
| | MENU | +-----------+------------+-----------+ |
| | | +------------------------------------+ |
| |--------| | | |
| | info | |=========== date & time ============| |
| +--------+ | | |
| | INSERT CONTENT | |
| | | |
| | | |
| +------------------------------------+ |
| |
| last modified |
| |
| XHTML & CSS VALIDATION |
| |
| |
+------------------------------------------------------+


So the framework is done, just need some "meat" on my "plate" if you know what I mean. im vegetarian. The framework works out to 4.60 kb.

Questions

1. The biggest question and most important... how should I insert content?
In my limited understanding, I can think of 3 ways.
a.) Copy and Paste Framework into each html document
b.) Use javascript .innerHTML to tediously insert entire pages into the appropriate position, making sure not to mess up quotations (pretty impossible)
c.) Use iframe and change the source depeding on which page to load.

How to professional and other webpages with menu systems keep the framework intact while changing the content? Are there better ways to do this? Is this what server-side languages are good for, amongst other things of course?

2. I know that table based web designs are being phased out. Are frames and iframes also being phased out? I ask this because my page is XHTML strict and the frameset DTD is even more lenient than transitional so I don't know if I want to use an iframe.

3. Working with webpage design, I've switched to Firefox for a number of reasons. It supports the "fixed" position for elements so that they stay on the page while the rest of it scrolls. Is there a way to detect whether a browser supports this "fixed" position or do I have to test each browser and then use browser detection code to set either 'absolute' or 'fixed' position?

4. The w3schools XML examples don't work at all in Firefox. Is there an XML parser thats non-microsoft to use for websites? Is there a way I could use XML and XSLT to define my content and then insert it in the content area of my webpage? XML really isn't used a whole lot currently for making webpages yet is it?

5. Is there any difference between span and div besides their nesting behaviors? Why use span if its more restrictive?

6. Is NN7 based on the Mozilla engine or Gecko or whatever technology?

Phew.. That takes a lot off my mind. Anyone have any answers to above-mentioned questions? Thanks for reading this!

Share this post


Link to post
Share on other sites
Quote:
Original post by Boder
1. The biggest question and most important... how should I insert content?
In my limited understanding, I can think of 3 ways.
a.) Copy and Paste Framework into each html document
b.) Use javascript .innerHTML to tediously insert entire pages into the appropriate position, making sure not to mess up quotations (pretty impossible)
c.) Use iframe and change the source depeding on which page to load.

I'm just trying to figure out the same thing myself - moving to a CSS based layout/style method has so far helped hugely (*so* much easier and more predictable than tables) but I'm still trying to avoid having to copy and paste the same boiler plate code everywhere. After some thought I'm going to stick my boiler-plate code (header, footer, side nav bar) in individual PHP functions and call them from each page. This should hopefully distil each page down to pretty much pure content, with layout and navigation in seperate, shared CSS and PHP files.

Quote:
2. I know that table based web designs are being phased out. Are frames and iframes also being phased out? I ask this because my page is XHTML strict and the frameset DTD is even more lenient than transitional so I don't know if I want to use an iframe.

IMHO, frames totally suck and should *never* be used on any site. CSS 'fixed' will eventually be a proper replacement, but for the time being I'd still avoid frames like the plauge, they're just too annoying from the users point of view.

Quote:
3. Working with webpage design, I've switched to Firefox for a number of reasons. It supports the "fixed" position for elements so that they stay on the page while the rest of it scrolls. Is there a way to detect whether a browser supports this "fixed" position or do I have to test each browser and then use browser detection code to set either 'absolute' or 'fixed' position?

Never 'switch' to a browser for web design. Its a good idea to keep several browsers with your page open all the time, then you just have to refresh each to see how you're looking on all of them. I'm currently using Opera, Firefox and IE6 for testing.

'fixed' is pretty much unusable at the moment. While Firefox and Opera both support it, IE has some horrible bugs with it, rendering it practically useless.

Share this post


Link to post
Share on other sites
You'll find some excellent articles about this issue here. They describe ways of doing exactly what you want to do.

Andy

Share this post


Link to post
Share on other sites
Quote:
Original post by Boder
Questions

1. The biggest question and most important... how should I insert content?
In my limited understanding, I can think of 3 ways.
a.) Copy and Paste Framework into each html document
b.) Use javascript .innerHTML to tediously insert entire pages into the appropriate position, making sure not to mess up quotations (pretty impossible)
c.) Use iframe and change the source depeding on which page to load.

How to professional and other webpages with menu systems keep the framework intact while changing the content? Are there better ways to do this? Is this what server-side languages are good for, amongst other things of course?

Indeed. This is best handled on the server side, using an XSL processor or any number of other options. Alternatively you could pre-render static HTML pages from XML/XSLT avoid the overhead of server-side programming.

Quote:
2. I know that table based web designs are being phased out. Are frames and iframes also being phased out? I ask this because my page is XHTML strict and the frameset DTD is even more lenient than transitional so I don't know if I want to use an iframe.
iframes should definitely be phased out, as there are standards compliant ways of implementing that kind of functionality. Frames aren't quite dead yet.

Quote:
3. Working with webpage design, I've switched to Firefox for a number of reasons. It supports the "fixed" position for elements so that they stay on the page while the rest of it scrolls. Is there a way to detect whether a browser supports this "fixed" position or do I have to test each browser and then use browser detection code to set either 'absolute' or 'fixed' position?
You would have to use browser detection code. Alternatively you could design your layout to be tolerant of IE's shortcomings.

Quote:
4. The w3schools XML examples don't work at all in Firefox. Is there an XML parser thats non-microsoft to use for websites? Is there a way I could use XML and XSLT to define my content and then insert it in the content area of my webpage? XML really isn't used a whole lot currently for making webpages yet is it?
Which examples are you referring to?

See my answer for #1.

Quote:
6. Is NN7 based on the Mozilla engine or Gecko or whatever technology?
Yes.

Quote:
Original post by OrangyTang
'fixed' is pretty much unusable at the moment. While Firefox and Opera both support it, IE has some horrible bugs with it, rendering it practically useless.

I agree. IE is useless.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
  • Advertisement
  • Popular Tags

  • Advertisement
  • Popular Now

  • Similar Content

    • By nihitori
      The Emotional Music Vol. I pack focuses on beautiful and esoteric orchestral music, capable of creating truly emotive and intimate moods. It features detailed chamber strings, cello and piano as the main instruments, resulting in a subtle and elegant sound never before heard in video game royalty-free music assets.

      The pack includes 5 original tracks, as well as a total of 47 loops based on these tracks (long loops for simple use and short loops for custom / complex music layering).

      Unity Asset Store link: https://www.assetstore.unity3d.com/en/#!/content/107032
      Unreal Engine Marketplace link: https://www.unrealengine.com/marketplace/emotional-music-vol-i

      A 15 seconds preview of each main track is available on Soundcloud:
       
    • By RoKabium Games
      Another one of our new UI for #screenshotsaturday. This is the inventory screen for showing what animal fossils you have collected so far. #gamedev #indiedev #sama
    • By eldwin11929
      We're looking for programmers for our project.
      Our project is being made in Unity
      Requirements:
      -Skills in Unity
      -C#
      -Javascript
      -Node.js
      We're looking for programmers who can perform a variety of functions on our project.
      Project is a top-down hack-and-slash pvp dungeon-crawler like game. Game is entirely multiplayer based, using randomized dungeons, and a unique combat system with emphasis on gameplay.
      We have a GDD to work off of, and a Lead Programmer you would work under.
      Assignments may include:
      -Creating new scripts of varying degrees specific to the project (mostly server-side, but sometimes client-side)
      -Assembling already created monsters/characters with existing or non-existing code.
      -Creating VFX
      -Assembling already created environment models
      If interested, please contact: eldwin11929@yahoo.com
      This project is unpaid, but with royalties.
       
      ---
      Additional Project Info:
      Summary:
      Bassetune Reapers is a Player-verus-Player, competitive dungeon crawler. This basically takes on aspects of dungeon crawling, but with a more aggressive setting. Players will have the option to play as the "dungeon-crawlers" (called the 'Knights', or "Knight Class", in-game) or as the "dungeon" itself (literally called the 'Bosses', or "Boss Class", in-game). What this means is that players can choose to play as the people invading the dungeon, or as the dungeon-holders themselves.
      Key Features:
      -Intense, fast-paced combat
      -Multiple skills, weapons, and ways to play the game
      -Tons of different Bosses, Minibosses, creatures and traps to utilize throughout the dungeon
      -Multiple unique environments
      -Interesting, detailed lore behind both the game and world
      -Intricate RPG system
      -Ladder and ranking system
      -Lots of customization for both classes s of customization for both classes
    • By RoKabium Games
      Custom coffee mugs have arrived... More caffeine!
      Have a great weekend everyone! 
      #gamedev #indiedev #sama #caffeine
    • By Atwo Studios
       
      Hey guys,

      Anthony here from Atwo Studios bringing you some new updates for the new year!
      In this video I go over our game ROY, the new games and some general updates to the company!

      If you have not checked out ROY feel free to give it a try! Many people have said they enjoyed the game thus far!
      ROY: https://goo.gl/o6JJ5P
       
  • Advertisement