• 0

My new WEBSITE.. took me forever to get right


Question

Hi neowin,

I hope there are still lots of people coming here, i have been away for a few months...

anyways, I have upgraded my website

http://www.studio7designs.com/

it is almost CSS and HTML compliant.. I need to tweak the code and also I need to complete the website...

can you guys give me any pointers ?

thanks

Aran

<b>PS thanks for the suggestions so far everyone, it made my day, If you have ANY suggestions please email me at aran [a t) studio7designs.com as I will be away from the forum for a while past feb 1st.. thanks!</b>

Edited by Nautica

Recommended Posts

  • 0

all i can say is wow, you did a great job, taking a long time to get it right has its own rewards

hey thanks so much for your imput

I WILL be adding more color to the site, look at the weddings page to see a preview of the photos I am going to add

are there too many google ads?

cheers

Aran

  • 0

thats pritty slick, my suggestion, if thats what your looking for, is maybe slowly fade the images up the top, becuase while i was reading (as much as the photos are very nice) i got distracted.

very good work here though :)

hey, how can I do that ?

can you link me to a tutorial for making fading gifs?

thanks

  • 0

I took out most of the text ads, left a couple on the left hand side-bar ( kinda hidden there so its not so in your face etc.)

Ill fad out the top banner...

please, anymore suggestions...

Also, anyone have a good feeback form that I can use?

  • 0

For the fading, just use javascript... That's the easiest to add more photo's if you want to...

nice idea, can you link me with a tutorial please, I am more of a designer then a java coder... thanks for the help I really appreciate it everyone!

  • 0

http://www.dynamicdrive.com/dynamicindex4/index.html

This is a really good websites for such javascripts...

hell YA!

sweet thanks..

also, one more question..

I want my top banner to change everytime someone loads the page, or goes to another page on my website... I dont like people seeing the same rotating images... Id rather deliver random images to my top banner area every new page load ( my banner area at top is to showcase my photography so this is VERY important )

do you know of any script that would do this?

Thanks

  • 0

http://www.dynamicdrive.com/dynamicindex14...inslideshow.htm

This one starts with a random image everytime. And it fades! And it runs in Opera, IE and Firefox (Y) (Y)

dude, sooo sweeeeet!!!

thanks for finding that for me...

so I pretty much put the code in the location of my banner?

Ill grab my code real quick, can you point me out to where i would put it?

thanks

&lt;body&gt;&lt;div id="wrap"&gt;

&lt;div id="header"&gt;
&lt;h1 class="style3"&gt;&lt;span class="style9"&gt;&lt;a href="../index.html"&gt;STUDIO&lt;/a&gt;&lt;/span&gt;&lt;a href="../index.html"&gt;&lt;span class="style5"&gt;7&lt;/span&gt;&lt;span class="style9"&gt;DESIGNS&lt;/span&gt;&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;&lt;strong&gt;"I can see you fly. You are an angel with wings, high above the ground!"&lt;/strong&gt;&lt;br /&gt;(traditional haiku poem)&lt;/p&gt;
&lt;/div&gt;

&lt;img id="frontphoto" src="../images/front.gif" width="760" height="175" alt="studio7designs_main_banner" /&gt;

&lt;div id="avmenu"&gt;
&lt;h2 class="hide"&gt;Menu:&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="../index.html"&gt;Home Page &lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="../gallery/gallery.html"&gt;Photo Gallery &lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="../website_designs.html"&gt;Website Designs&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="../Journal.html"&gt;Daily Photo Blog &lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="../weddings.html"&gt;Weddings Victoria&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="../contact_us.html"&gt;Contact us &lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

my banner is the "<img id="frontphoto" src="../images/front.gif" width="760" height="175" alt="studio7designs_main_banner" />"

would I put the script in there?

thanks

  • 0

&lt;head&gt;
&lt;script type="text/javascript"&gt;
/***********************************************
* Ultimate Fade-In Slideshow (v1.5): ? Dynamic Drive (http://www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/

var fadeimages=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages[0]=["photo1.jpg", "", ""]
fadeimages[1]=["photo2.jpg", "", ""]
fadeimages[2]=["photo3.jpg", "", "_new"]

var fadebgcolor="white"

////NO need to edit beyond here/////////////

var fadearray=new Array() //array to cache fadeshow instances
var fadeclear=new Array() //array to cache corresponding clearinterval pointers

var dom=(document.getElementById) //modern dom browsers
var iebrowser=document.all

function fadeshow(theimages, fadewidth, fadeheight, borderwidth, delay, pause, displayorder){
this.pausecheck=pause
this.mouseovercheck=0
this.delay=delay
this.degree=10 //initial opacity degree (10%)
this.curimageindex=0
this.nextimageindex=1
fadearray[fadearray.length]=this
this.slideshowid=fadearray.length-1
this.canvasbase="canvas"+this.slideshowid
this.curcanvas=this.canvasbase+"_0"
if (typeof displayorder!="undefined")
theimages.sort(function() {return 0.5 - Math.random();}) //thanks to Mike (aka Mwinter) :)
this.theimages=theimages
this.imageborder=parseInt(borderwidth)
this.postimages=new Array() //preload images
for (p=0;p&lt;theimages.length;p++){
this.postimages[p]=new Image()
this.postimages[p].src=theimages[p][0]
}

var fadewidth=fadewidth+this.imageborder*2
var fadeheight=fadeheight+this.imageborder*2

if (iebrowser&amp;&amp;dom||dom) //if IE5+ or modern browsers (ie: Firefox)
document.write('&lt;div id="master'+this.slideshowid+'" style="position:relative;width:'+fadewidth+'px;height:'+fadeheight+'px;overflow:hidden;"&gt;&lt;div id="'+this.canvasbase+'_0" style="position:absolute;width:'+fadewidth+'px;height:'+fadeheight+'px;top:0;left:0;filter:progid:DXImageTransform.Microsoft.alpha(opacity=10);-moz-opacity:10;-khtml-opacity:10;background-color:'+fadebgcolor+'"&gt;&lt;/div&gt;&lt;div id="'+this.canvasbase+'_1" style="position:absolute;width:'+fadewidth+'px;height:'+fadeheight+'px;top:0;left:0;filter:progid:DXImageTransform.Microsoft.alpha(opacity=10);-moz-opacity:10;background-color:'+fadebgcolor+'"&gt;&lt;/div&gt;&lt;/div&gt;')
else
document.write('&lt;div&gt;&lt;img name="defaultslide'+this.slideshowid+'" src="'+this.postimages[0].src+'"&gt;&lt;/div&gt;')

if (iebrowser&amp;&amp;dom||dom) //if IE5+ or modern browsers such as Firefox
this.startit()
else{
this.curimageindex++
setInterval("fadearray["+this.slideshowid+"].rotateimage()", this.delay)
}
}

function fadepic(obj){
if (obj.degree&lt;100){
obj.degree+=10
if (obj.tempobj.filters&amp;&amp;obj.tempobj.filters[0]){
if (typeof obj.tempobj.filters[0].opacity=="number") //if IE6+
obj.tempobj.filters[0].opacity=obj.degree
else //else if IE5.5-
obj.tempobj.style.filter="alpha(opacity="+obj.degree+")"
}
else if (obj.tempobj.style.MozOpacity)
obj.tempobj.style.MozOpacity=obj.degree/101
else if (obj.tempobj.style.KhtmlOpacity)
obj.tempobj.style.KhtmlOpacity=obj.degree/100
}
else{
clearInterval(fadeclear[obj.slideshowid])
obj.nextcanvas=(obj.curcanvas==obj.canvasbase+"_0")? obj.canvasbase+"_0" : obj.canvasbase+"_1"
obj.tempobj=iebrowser? iebrowser[obj.nextcanvas] : document.getElementById(obj.nextcanvas)
obj.populateslide(obj.tempobj, obj.nextimageindex)
obj.nextimageindex=(obj.nextimageindex&lt;obj.postimages.length-1)? obj.nextimageindex+1 : 0
setTimeout("fadearray["+obj.slideshowid+"].rotateimage()", obj.delay)
}
}

fadeshow.prototype.populateslide=function(picobj, picindex){
var slideHTML=""
if (this.theimages[picindex][1]!="") //if associated link exists for image
slideHTML='&lt;a href="'+this.theimages[picindex][1]+'" target="'+this.theimages[picindex][2]+'"&gt;'
slideHTML+='&lt;img src="'+this.postimages[picindex].src+'" border="'+this.imageborder+'px"&gt;'
if (this.theimages[picindex][1]!="") //if associated link exists for image
slideHTML+='&lt;/a&gt;'
picobj.innerHTML=slideHTML
}


fadeshow.prototype.rotateimage=function(){
if (this.pausecheck==1) //if pause onMouseover enabled, cache object
var cacheobj=this
if (this.mouseovercheck==1)
setTimeout(function(){cacheobj.rotateimage()}, 100)
else if (iebrowser&amp;&amp;dom||dom){
this.resetit()
var crossobj=this.tempobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
crossobj.style.zIndex++
fadeclear[this.slideshowid]=setInterval("fadepic(fadearray["+this.slideshowid+"])",50)
this.curcanvas=(this.curcanvas==this.canvasbase+"_0")? this.canvasbase+"_1" : this.canvasbase+"_0"
}
else{
var ns4imgobj=document.images['defaultslide'+this.slideshowid]
ns4imgobj.src=this.postimages[this.curimageindex].src
}
this.curimageindex=(this.curimageindex&lt;this.postimages.length-1)? this.curimageindex+1 : 0
}

fadeshow.prototype.resetit=function(){
this.degree=10
var crossobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
if (crossobj.filters&amp;&amp;crossobj.filters[0]){
if (typeof crossobj.filters[0].opacity=="number") //if IE6+
crossobj.filters(0).opacity=this.degree
else //else if IE5.5-
crossobj.style.filter="alpha(opacity="+this.degree+")"
}
else if (crossobj.style.MozOpacity)
crossobj.style.MozOpacity=this.degree/101
else if (crossobj.style.KhtmlOpacity)
crossobj.style.KhtmlOpacity=obj.degree/100
}


fadeshow.prototype.startit=function(){
var crossobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
this.populateslide(crossobj, this.curimageindex)
if (this.pausecheck==1){ //IF SLIDESHOW SHOULD PAUSE ONMOUSEOVER
var cacheobj=this
var crossobjcontainer=iebrowser? iebrowser["master"+this.slideshowid] : document.getElementById("master"+this.slideshowid)
crossobjcontainer.onmouseover=function(){cacheobj.mouseovercheck=1}
crossobjcontainer.onmouseout=function(){cacheobj.mouseovercheck=0}
}
this.rotateimage()
}

&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;&lt;div id="wrap"&gt;

&lt;div id="header"&gt;
&lt;h1 class="style3"&gt;&lt;span class="style9"&gt;&lt;a href="../index.html"&gt;STUDIO&lt;/a&gt;&lt;/span&gt;&lt;a href="../index.html"&gt;&lt;span class="style5"&gt;7&lt;/span&gt;&lt;span class="style9"&gt;DESIGNS&lt;/span&gt;&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;&lt;strong&gt;"I can see you fly. You are an angel with wings, high above the ground!"&lt;/strong&gt;&lt;br /&gt;(traditional haiku poem)&lt;/p&gt;
&lt;/div&gt;

&lt;script type="text/javascript"&gt;
new fadeshow(fadeimages, 760, 175, 0, 10000, 0, "R")
&lt;/script&gt;

&lt;div id="avmenu"&gt;
&lt;h2 class="hide"&gt;Menu:&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="../index.html"&gt;Home Page &lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="../gallery/gallery.html"&gt;Photo Gallery &lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="../website_designs.html"&gt;Website Designs&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="../Journal.html"&gt;Daily Photo Blog &lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="../weddings.html"&gt;Weddings Victoria&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="../contact_us.html"&gt;Contact us &lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

And you just change this:

fadeimages[0]=["photo1.jpg", "", ""]
fadeimages[1]=["photo2.jpg", "", ""]
fadeimages[2]=["photo3.jpg", "", "_new"]

  • 0

yes I have it so its working 100% in IE... but in FF and Opera it comes out very wonky...

do I have to put the

&lt;script type="text/javascript"&gt;
new fadeshow(fadeimages, 760, 175, 0, 10000, 0, "R")
&lt;/script&gt;

in a special holder? like a <div> or <p> ?

it seems that the code is not held properly in FF and opera.. the top banner floats all over the place

  • 0

Very nice clean looking site. The only thing letting it down is the google adds down the side. They draw away from the clean layout. Nice clear content on there also, good job :).

I dunno if it's just me but it does run slow every now and then. Get it on a faster host possibly.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • This is about the EU given consumers options, Apple is all about not giving options and locking you into its own services, this hurts Apple far more than it hurts the EU market because it makes Apple products look less appealing by Apple refusing to offer its own service because they have to give options to rivals, the end results are consumers might look at alternatives like Android. It's a game Apple can't really win when there are alternatives and Apple will in time change course on this, until then, let Apple hurt themselves in the EU market.
    • Microsoft unveils new Surface Laptop with improved trackpad, Snapdragon X2, and more by Taras Buria Microsoft's new Surface Laptop Ultra generated a lot of buzz earlier this month, but in addition to its most powerful laptop with an NVIDIA chip, Microsoft also has a more affordable laptop lineup, which has been waiting for an update for quite a while. Today, Microsoft announced the eighth-generation Surface Laptop. The new Surface Laptop is powered by the Snapdragon X2 Plus and X2 Elite processors. These chips offer faster CPU performance, up to 58% faster graphics, and 80 TOPS Neural Processing Units (NPUs) for on-device AI processing. Like the previous models, these chips retain their great energy efficiency, and Microsoft says that buyers can expect up to 20 hours of work on a single charge. The laptop is available in two sizes: 13.8-inch and 15-inch. You will have a hard time finding visual differences between the new and previous models, as Microsoft is not taking any major design leaps, except for the new Jade color, which may look familiar to Surface Laptop 5 owners. Other colors include Platinum, Black, and Dune. The 15-inch variant got a higher-resolution display. It is a 3,270 x 2,180 resolution screen with a pixel density of 262 ppi (the 13-inch model has a 201 ppi density) and a maximum brightness of 600 nits SDR and HDR. Unlike the Surface Pro 12th-gen, which is available with optional OLED displays, the Surface Laptop sticks with IPS, a 1,300:1 contrast ratio, a 120Hz refresh rate, and a 3:2 aspect ratio. Another notable change in the Surface Laptop 8 is its trackpad. It now provides haptic feedback when you perform various actions in apps and the operating system. It is a relatively new feature that Microsoft brought to Windows 11 in recent updates, and it is only available on certain devices, such as the Logitech MX Master 4, Surface Slim Pen 2, the upcoming Surface Laptop Ultra, and now the Surface Laptop 8. The new Surface Laptop with the new Surface Pro Like its tablet-shaped sibling, the new Surface Laptop is notably more expensive. It starts at a $1,599 for a 13.8-inch configuration with a 256GB SSD and 16GB of RAM. However, in the US, the base model has double the storage while keeping the same price. Available configurations include up to 64GB of memory and up to 2TB SSD (user-removable PCIe Gen4). The Surface Laptop 8 is now available for purchase on the official Microsoft website.
    • Microsoft announces 12th-gen Surface Pro with Snapdragon X2 processors by Taras Buria So far, 2026 has been rich in Surface announcements. Microsoft started with a fresh lineup of Surface for Business devices powered by Intel's new Core Ultra 300 processors. Then the company revealed the Surface Laptop Ultra, its most powerful laptop with NVIDIA's RTX Spark processor. Now, it is time for new Surface Pro and Surface Laptop models with Qualcomm processors. Microsoft's original Copilot+ PCs with Snapdragon X1 chips debuted in late May 2024. Two years later, Microsoft is finally updating the lineup with new models featuring Snapdragon X2 processors. The 12th-gen Surface Pro continues the well-established formula of Microsoft's flagship tablet, and Microsoft is not even changing colors, as the tablet will be available in three colors: Dune, Black, and Platinum. The most important changes are mostly hidden inside. Microsoft switched from the Snapdragon X1 to the new Snapdragon X2, which promises up to 53% faster graphics performance than the previous generation and up to 15.5 hours of battery life. The built-in NPU is also much more powerful, and it can run at up to 80 TOPS for on-device AI processing. Like before, the new Surface Pro is available with a 13-inch IPS display, and Microsoft is still offering OLED as a separate, more expensive configuration. Speaking of configurations, the Surface Pro will be available with a 10-core Snapdragon X2 Plus or a 12-core Snapdragon X2 Elite. Microsoft expanded the available RAM configurations to 64GB (previously 32GB was the maximum), while storage remains unchanged at 256GB, 512GB, or 1TB of user-replaceable PCIe Gen4 SSDs. The new Surface Pro and the Surface Laptop Other specs remain mostly unchanged. The computer has the same 1440p Windows Hello webcam, two USB4 ports for charging, data, and display output, Wi-Fi 7 and Bluetooth 5.4 support, dual speakers, and compatibility with Surface Pro Signature and Flex keyboards. With that said, there is one very important aspect of the Surface Pro that changed significantly, and it is the price. While the previous-gen Surface Pro launched at $999 for the base configuration, in 2026, the entry-level Surface Pro with Snapdragon X2, 16GB of memory, and 256GB will set you back an eye-watering $1,499. To sweeten the pill, Microsoft is running a limited-time promotion where Surface Pro buyers can get a free Surface Pro 13-inch Keyboard. The promo runs from June 16 through June 30. The new Surface Pro is available now on the official Microsoft Store website.
    • MakeMKV 1.18.4 Beta by Razvan Serea MakeMKV is a format converter, otherwise called "transcoder". It converts the video clips from proprietary (and usually encrypted) disc into a set of MKV files, preserving most information but not changing it in any way. The MKV format can store multiple video/audio tracks with all meta-information and preserve chapters. There are many players that can play MKV files nearly on all platforms, and there are tools to convert MKV files to many formats, including DVD and Blu-ray discs. Additionally MakeMKV can instantly stream decrypted video without intermediate conversion to wide range of players, so you may watch Blu-ray and DVD discs with your favorite player on your favorite OS or on your favorite device. Reads DVD and Blu-ray discs Reads Blu-ray discs protected with latest versions of AACS and BD+ Preserves all video and audio tracks, including HD audio Preserves chapters information Preserves all meta-information (track language, audio type) Fast conversion - converts as fast as your drive can read data. No additional software is required for conversion or decryption. Available for Windows, Mac OS X and Linux Functionality to open DVD discs is free and will always stay free. All features (including Blu-ray decryption and processing) are free during BETA. MakeMKV 1.18.4 changelog: Small improvements and bugfixes Notable bug fixes: Fixed linux armhf binary crash on certain architectures Download: MakeMKV 1.18.4 Beta | 15.7 MB (Free, paid upgrade available) Download: MakeMKV for Mac OS X | 41.9 MB Links: MakeMKV Website | MakeMKV for Linux | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • One Year In
      Console General earned a badge
      One Year In
    • One Year In
      Twozo Technologies earned a badge
      One Year In
    • One Month Later
      Twozo Technologies earned a badge
      One Month Later
    • Week One Done
      Twozo Technologies earned a badge
      Week One Done
    • Veteran
      branfont went up a rank
      Veteran
  • Popular Contributors

    1. 1
      +primortal
      525
    2. 2
      +Edouard
      209
    3. 3
      PsYcHoKiLLa
      113
    4. 4
      Steven P.
      90
    5. 5
      Nick H.
      71
  • Tell a friend

    Love Neowin? Tell a friend!