Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 53
Search took 0.18 seconds.
Search: Posts Made By: snarf1974
Forum: JavaScript programming 02-06-2013, 11:26 AM
Replies: 22
Views: 1,087
Posted By snarf1974
Thanks @Old Pedant, I'm still getting the odd...

Thanks @Old Pedant, I'm still getting the odd time when 2 list items, and even just 1 list item are being displayed?!!?? :-/
Forum: JavaScript programming 02-05-2013, 03:06 PM
Replies: 22
Views: 1,087
Posted By snarf1974
@Old Pedant, @sunfighter, @rnd me, @AndrewGSW -...

@Old Pedant, @sunfighter, @rnd me, @AndrewGSW - apologies for the late reply, I've been away on holiday in not so sunny (very snowy) Edinburgh!

@rnd me - Your Cross-origin resource sharing (CORS)...
Forum: JavaScript programming 01-29-2013, 04:31 PM
Replies: 22
Views: 1,087
Posted By snarf1974
Old Pedant: I'm working on a local version of...

Old Pedant: I'm working on a local version of this page:
http://www.hse.gov.uk/horizons/index.htm

The box in question is the 'short form reports' box. The other page...
Forum: JavaScript programming 01-28-2013, 02:30 PM
Replies: 22
Views: 1,087
Posted By snarf1974
Question Display random list items from another page

Hello,

I'm trying to display random <li> from a <ul> on another page.

There are 25 list items on the other page (reports.htm) and I would like 3 to be displayed on the homepage (index.htm)...
Forum: JavaScript frameworks 08-24-2012, 11:00 AM
Replies: 3
Views: 695
Posted By snarf1974
Ho hum, back to the drawing board, cannot find a...

Ho hum, back to the drawing board, cannot find a way around this :0(
Forum: JavaScript frameworks 08-22-2012, 11:49 AM
Replies: 3
Views: 695
Posted By snarf1974
Is there anybody who could shed some light on...

Is there anybody who could shed some light on this? I'd really like to be able to deep link to the H2 on the page using jQuery UI Accordion, any help will be gratefully received. :0)
Forum: JavaScript frameworks 08-21-2012, 01:28 PM
Replies: 3
Views: 695
Posted By snarf1974
Have tried this: ...

Have tried this:
$(document).scrollTop(getRealTop(accordian));
function getRealTop(el){
yPos = document.getElementById(el).offsetTop;
tempEl = document.getElementById(el).offsetParent;
while...
Forum: JavaScript frameworks 08-16-2012, 11:41 AM
Replies: 3
Views: 695
Posted By snarf1974
Question jQuery UI Accordion - Possible to deep-link?

I'm trying to link from one page to a H2 on another page. Simple enough usually, just use the good old #. However, the H2's in question are on the same page as a jQuery UI accordion, which means that...
Forum: JavaScript frameworks 05-25-2011, 02:55 PM
Replies: 5
Views: 1,233
Posted By snarf1974
Question Hey SB65, that did the trick, thank you very...

Hey SB65, that did the trick, thank you very much. Like I said, I didn't develop this, so found it a bit confusing to be honest.
Forum: JavaScript frameworks 05-24-2011, 09:18 AM
Replies: 5
Views: 1,233
Posted By snarf1974
Question Part 2: function switchView(newView) { ...

Part 2:

function switchView(newView) {
$list.css('visibility', 'visible');
// We hide/show by adding/removing a class, rather than hide() / show() so that we can ensure the print view is...
Forum: JavaScript frameworks 05-24-2011, 09:18 AM
Replies: 5
Views: 1,233
Posted By snarf1974
Question Thanks so much for having a quick look at this...

Thanks so much for having a quick look at this issue for me. Here is the src timeline.js. It's quite large, so I've split the code into two parts:


// On document ready, load some dependencies,...
Forum: JavaScript frameworks 05-23-2011, 11:11 AM
Replies: 5
Views: 1,233
Posted By snarf1974
Question Jquery issue with scroll bar and cursor

Hi everyone,

I'm hoping this will be a simple fix. This timeline:
http://www.hse.gov.uk/aboutus/timeline/index.htm

is not displaying correctly in Firefox 3.6.17 & 4.0.1 & ie8.

Firefox -...
Forum: ASP 05-05-2010, 08:42 AM
Replies: 1
Views: 2,506
Posted By snarf1974
Question Upload image to email form

Hi,

I've got a basic form already working, but I need to include some functionality which enables users to upload images. I'm using classic ASP, but don't have a database (crappy work policy), so...
Forum: ASP 03-04-2010, 11:17 AM
Replies: 1
Views: 929
Posted By snarf1974
Question Sending multiple emails based on postcode

Hiya,

I'm working on a form at work. My boss wants the feedback form information to be emailed to various field offices dotted around the UK.

In the UK we have postcode areas like so: WD, EN,...
Forum: JavaScript programming 02-19-2010, 10:49 AM
Replies: 8
Views: 1,441
Posted By snarf1974
Smile Actually, I can use another asp page, thought I...

Actually, I can use another asp page, thought I could only add to existing asp page, but that's not the case.

If anyone could help with how I go about tweaking it so the email goes to the correct...
Forum: JavaScript programming 02-18-2010, 11:17 AM
Replies: 8
Views: 1,441
Posted By snarf1974
Old Pedant, sorry for the confusion, you are spot...

Old Pedant, sorry for the confusion, you are spot on, the ASP code is already doing the email send, just need to tweak it so the email goes to the correct field office, based on what the user selects...
Forum: JavaScript programming 02-17-2010, 02:26 PM
Replies: 8
Views: 1,441
Posted By snarf1974
Question Many thanks for your input Old Pedant & Philip M....

Many thanks for your input Old Pedant & Philip M.

Really am hamstrung at my place of work, have to make do with rubbish solutions.

Here is part of the form:

<form...
Forum: JavaScript programming 02-16-2010, 12:55 AM
Replies: 8
Views: 1,441
Posted By snarf1974
Question Form with conditions

Hiya,

Not sure how to put this, here goes:

I'm trying to create a form to receive customer complaints. I'm fine with the basic form structure, but would like a drop-down box or radio buttons...
Forum: General web building 08-26-2009, 05:09 PM
Replies: 2
Views: 749
Posted By snarf1974
Thank you OracleGuy!! You have saved the...

Thank you OracleGuy!!

You have saved the day, mucho mucho appreciated. Yes, you're right in your assumption, there isn't anything like 0.83MB, it'd be 830KB.

:-)
Forum: General web building 08-26-2009, 02:18 PM
Replies: 2
Views: 749
Posted By snarf1974
Question Regex in dreamweaver

Hi all,

I'm trying to use regex in dreamweaver to remove certain pdf file sizes across a large site.

I need to delete all digits along with the squared brackets. Anything under 2MB also needs...
Forum: HTML & CSS 05-15-2009, 12:38 PM
Replies: 7
Views: 778
Posted By snarf1974
Thanks VIPStephan, I agree that xhtml 1.0 Strict!...

Thanks VIPStephan, I agree that xhtml 1.0 Strict! is definately the best option, and transitional shouldn't be entertained.

I'll probably not go down the javascript route, but thanks for the swift...
Forum: HTML & CSS 05-15-2009, 12:14 PM
Replies: 7
Views: 778
Posted By snarf1974
Question ordered list invalid markup when adding value=""

Hi,

Not sure if there is a simple workaround for this.

I've got an ordered list, but somewhere in the list I want to skip a number, like so:


<ol>
<li>blah</li>
<li>blah</li>
Forum: HTML & CSS 05-05-2009, 12:28 PM
Replies: 3
Views: 1,595
Posted By snarf1974
Thank you very much, it works a treat now.

Thank you very much, it works a treat now.
Forum: HTML & CSS 05-03-2009, 06:16 AM
Replies: 3
Views: 1,595
Posted By snarf1974
Question Images in OL list clipped!

Hi,

I've got an ordered list where I've replaced the bullets with background images:

ol.itemThumbNail li {
list-style:none;
list-style-position: inside;
padding:0 0 18px 44px;
margin:0...
Forum: HTML & CSS 02-15-2009, 10:48 PM
Replies: 3
Views: 676
Posted By snarf1974
Thank you very much _Aerospace_Eng_ and...

Thank you very much _Aerospace_Eng_ and Majoracle, both solutions work great, but like you said Majoracle, _Aerospace_Eng_ solution is faster
:thumbsup:
Showing results 1 to 25 of 53

 
Forum Jump

All times are GMT +1. The time now is 06:50 PM.